On Wed, Jul 15, 2009 at 4:01 PM, Russ Cox<r...@swtch.com> wrote: > On Wed, Jul 15, 2009 at 3:38 PM, <driv...@0xabadba.be> wrote: >> Thats good to hear HG is working well, I am really hoping for git >> as it is hosting my current repo of works. If git does not exist >> and there is no plan to do it in the future I can migrate over my >> stuff (i'd prefer to do actual new work than porting VCS!). >> Thanks for the replies thus far. > > If the hg is new enough that it comes with the bookmarks > extension, then you can install a separate extension > that will make it handle git too. I have been using hg to > manipulate git repositories and find it far more pleasant > than using git directly. > > http://hg-git.github.com/ > http://bitbucket.org/abderrahim/hg-git/ > > The code at the second URL, which is a newer fork > of the first URL's code, makes it almost transparent: > > hg clone git://asdfkjasdfadsf > hg commit > hg push > hg pull -u > > They all just work. > > Russ >
It appears that the Plan 9 port of hg is version 1.0.2, which does not have bookmarks. To those who ported it, how difficult was the task? How much work would it be to bring in 1.2? To Russ, it's not quite clear... does the git extension *require* bookmarks, or just work better with them? Right now I'm trying to clone hg-git to test it, but the clone is failing with: %hg clone http://bitbucket.org/abderrahim/hg-git/ destination directory: hg-git requesting all changes adding changesets adding manifests adding file changes transaction abort! rollback completed abort: Invalid argument: /usr/john/lib/hg-git/.hg/store/data John -- "I've tried programming Ruby on Rails, following TechCrunch in my RSS reader, and drinking absinthe. It doesn't work. I'm going back to C, Hunter S. Thompson, and cheap whiskey." -- Ted Dziuba