hgsvn

A set of scripts to work locally on Subversion checkouts using Mercurial
Download

hgsvn Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Antoine Pitrou
  • Publisher web site:
  • http://pitrou.net/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 47 KB

hgsvn Tags


hgsvn Description

A set of scripts to work locally on Subversion checkouts using Mercurial hgsvn is a free and open source Python based set of scripts that will allow you to work locally on Subversion-managed projects using the Mercurial distributed version control system.Why use Mercurial? You can do local (disconnected) work, pull the latest changes from the SVN server, manage private branches, submit patches to project maintainers, etc. And of course you have fast local operations like "hg log", "hg annotate"...Currenly two scripts are provided:· hgimportsvn initializes an SVN checkout which is also a Mercurial repository.· hgpullsvn pulls the latest changes from the SVN repository, and updates the Mercurial repository accordingly. It can be run multiple times. What's New in This Release: Improvements: · hgpushsvn fully integrated in this version. This command pushes local Mercurial commits back to the SVN repository. · Add a -n/--dry-run flag to hgpullsvn and hgpushsvn to list incoming and outgoing changes without committing them to the local or remote repository. · Add verbosity levels to all command line scripts. The default verbosity level limits the output of hgpullsvn and hgpushsvn to messages that have a certain relevance to the user. Additional messages will be shown with the -v/--verbose flag. The --debug flag enables the output of debugging messages including shell commands. Bug fixes: · Log files from SVN repositories with path-based authentication caused hgpullsvn and hgimportsvn to fail with an XML parsing error. Restricted paths are now silently ignored (issue5, reported by Andreas Sliwka). · Updated the Mercurial-based lock file mechanism introduced in the previous release to work with Mercurial >= 1.2.0. The exception class was moved in Mercurial 1.2.0 (issue4). · hgpullsvn and hgpushsvn can now be called from any sub-directory within the working copy. Both scripts now take care to change their working directory to the root of the working copy (issue3). · hgimportsvn exits with a error message when the target directory is already a Mercurial repository controlled by hgsvn. · Detect conflicts when running SVN update. To avoid conflicts when pulling new SVN revisions, hgpullsvn checks if the hg repository has uncommitted changes before actually pulling new revisions from SVN (issue6, reported and initial patch by Robert).


hgsvn Related Software