You are here

Mercurial and Subversion

Some time ago Flock had a brief affair with Mercurial (hg) during which I fell in love with its speed, terminology and versatility. Its workflow, unfortunately, turned out to be too foreign to enough of the developers that we scrapped it and went with the old standby Subversion.

Hg, however, is much faster than svn, and much more fun to use, and way more useful for working on projects with the person sitting next to you, so I began using it for all my own projects but I didn't want to leave the svn users behind (and I wanted to use trac as a browser for all my projects) so I wrote hg-to-svn-submod to ease my pain.

Given a directory full of hg repositories (exactly like what you use for hgwebdir.cgi) it will use tailor to merge them all into a single svn repository as submodules, works pretty well for me, it is now a cronjob that runs nightly, so my svn repository stays about a day behind my hg. :)

Technorati Tags: , , ,