Some notes on upgrading to Mercurial 1.6 with hgsubversion
I encountered a few wrinkles when I upgraded to Mercurial 1.6/TortoiseHg 1.1 on Friday. These were entirely due to the hgsubversion extension—an essential part of my toolkit these days, since it upgrades the experience of working with Subversion from “infuriating” to “tolerable.”
First, you should clone or pull the latest version of hgsubversion and update it to tip before you upgrade Mercurial. This is due to breaking changes in Mercurial’s internal API after hgsubversion 1.1 was released.
Second, there is a bug in hgsubversion, again due to breaking changes in the Mercurial API, that results in an exception when it is used with the bookmarks extension in version 1.6. I have implemented a fix for this in my own fork of hgsubversion, though at the time of writing this hasn’t yet made it back into the official repo.
(Update: this fix has now been merged into hgsubversion 1.2.2.)
Apart from that, everything seems to work reasonably enough. My initial tests seem to indicate that hg-git works fine with Mercurial 1.6. TortoiseHg 1.1 comes with Dulwich 0.6.0, so you can now safely update hg-git to the latest stable version (0.2.2) or to tip if you’re that way inclined.
Comment on this » 
RSS feed
Posted at 08:00 on 5 July 2010.

