Working on hgsvn
Yesterday I’ve taken over maintenance of hgsvn from it’s original author Antoine Pitrou. Many thanks to Antoine at this point for doing a great job on this tool!
In case you don’t know, hgsvn is “a set of scripts to work locally on Subversion checkouts using Mercurial.”
My aim is not to make these scripts a full-blown Subversion extensions for Mercurial. hgsubversion or the convert extension will probably do a much better job with tighter integration as it’s in the scope of hgsvn. So the main focus is on fixing bugs and to finish and release the hgpushsvn script that commits changes in your Mercurial repository back to Subversion.
The reason why I decided to work on this project is pretty simple: I’ve made good experiences with it and I still want to keep using it.
With hgpushsvn the tool provides three scripts for the most basic tasks:
hgimportsvn initializes a hg repository and fetches the sources from svn, optionally starting at a specific revision.
hgpullsvn pulls new change sets from svn to your local hg repository.
hgpushsvn pushes back your local commits to the svn repository.
Using hgsvn for a while now, I’m feeling very comfortable with these scripts and they fit very well into my workflow.
The next things I’m about to do are:
- fix the unittests, at least one is broken ATM
- setup a buildbot to have some automated tests
- finish hgpullsvn
If you’re using hgsvn, please file bug reports or submit patches on the issue tracker.