Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Version Control

    hgsubversion 1.4

    Download button

    No screenshots available
    Downloads: 912  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Augie Fackler | More programs
    GPL / FREE
    May 2nd, 2012, 20:56 GMT
    ROOT / Programming / Version Control

     Read user reviews (0)  Refer to a friend  Subscribe

    hgsubversion description

    A Mercurial extension for working with Subversion repositories

    hgsubversion is a Mercurial extension that allows the use of Mercurial as a Subversion client.

    At this point, hgsubversion is usable by users reasonably familiar with Mercurial as a VCS. It's not recommended to dive into hgsubversion as an introduction to Mercurial, since hgsubversion "bends the rules" a little and violates some of the typical assumptions of early Mercurial users.

    Installation

    You need to have Subversion installed with the SWIG Python bindings from Subversion 1.5 or later. You need Mercurial 1.3 or later.

    If you are unfamiliar with installing Mercurial extensions, please see the UsingExtensions page in the Mercurial wiki. Look at the example for specifying an absolute path near the bottom of the page. You want to give the path to the top level of your clone of this repository.

    Before using hgsubversion, I strongly encourage you to run the automated tests. Just use nose if you have it (or easy_install nose if you want it), or use python tests/run.py to run the suite with the conventional test runner. Note that because I use nose, there's a lot of stdout spew in the tests right now. The important part is that all the tests pass.

    Basic Use

    Get a new clone of an svn server:

    hg clone < svn URI > [destination]

    Real example:

    hg clone http://python-nose.googlecode.com/svn nose-hg

    Note, you should pull from the root subversion directory, not specific folders (such as trunk).

    Pull new revisions into an already-converted repo:

    hg pull

    For more information, see hg help svn while in a converted repo.

    Support for svn:externals

    All svn:externals properties are serialized into a single .hgsvnexternals file, with the following syntax:

    [.]
     external_reference_line1_1
     external_reference_line1_2
    [dir2]
     external_reference_line2_1
     external_reference_line2_2


    A header line gives the directory the property applies on, '.' for the project root directory. The property content follows, every line being prefixed by a single space.

    The creation or modification of this file will trigger svn:externals updates on the related subversion repository.


    Product's homepage

    Requirements:

    · Python
    · Mercurial

      


    TAGS:

    Subversion repositories | Mercurial extension | version control | Mercurial | Subversion | repository

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM