% qlist -IUv mercurial hg-git dev-vcs/hg-git-0.2.6 dev-vcs/mercurial-1.9 % hg root *** failed to import extension hggit: 'module' object has no attribute 'findoutgoing' ** unknown exception encountered, please report by visiting ** http://mercurial.selenic.com/wiki/BugTracker ** Python 2.7.2 (default, Jun 28 2011, 17:46:36) [GCC 4.2.1 (Gentoo 4.2.1_p5666, Apple Inc. build 5666) (dot 3)] ** Mercurial Distributed SCM (version 1.9) ** Extensions loaded: graphlog, progress, mq, record, transplant, convert, rebase, patchbomb, purge Traceback (most recent call last): File "/Library/Gentoo/usr/bin/hg-2.7", line 38, in <module> mercurial.dispatch.run() File "/Library/Gentoo/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 27, in run sys.exit(dispatch(request(sys.argv[1:]))) File "/Library/Gentoo/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 64, in dispatch return _runcatch(req) File "/Library/Gentoo/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 87, in _runcatch return _dispatch(req) File "/Library/Gentoo/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 646, in _dispatch repo = hg.repository(ui, path=path) File "/Library/Gentoo/usr/lib/python2.7/site-packages/mercurial/hg.py", line 93, in repository repo = _peerlookup(path).instance(ui, path, create) File "/Library/Gentoo/usr/lib/python2.7/site-packages/mercurial/hg.py", line 78, in _peerlookup return thing(path) File "/Library/Gentoo/usr/lib/python2.7/site-packages/hggit/__init__.py", line 45, in _local p = hgutil.drop_scheme('file', path) AttributeError: 'NoneType' object has no attribute 'drop_scheme' It works fine with 1.8*, I suggest adding a dependency of "<dev-vcs/mercurial-1.9" for the moment. % qlist -IUv mercurial hg-git dev-vcs/hg-git-0.2.6 dev-vcs/mercurial-1.8.3 % hg root /private/var/automount/nfs/ra/export/gentoo/portage-hg
The following four patches are necessary to make hg-git-0.2.6 work with mercurial-1.9 (in this order): https://bitbucket.org/durin42/hg-git/changeset/61865ad88740/raw https://bitbucket.org/durin42/hg-git/changeset/bcc79fa3fe09/raw https://bitbucket.org/durin42/hg-git/changeset/5fdff9b8e742/raw https://bitbucket.org/durin42/hg-git/changeset/6867b01d1379/raw Since a 0.2.7 seems to be far away, please provide a 0.2.6-r1 with these patches, or allow me to commit it.
Sorry I haven't gotten to it. By all means go ahead and add the patches. Perhaps you want to co-maintain? Maybe the python team doesn't make too much sense on this one.
Since I'm using this plugin at the moment, I don't mind co-maintaining it. I'll push out a -r1 tonight. Thanks.
ok, committed now, registered myself as co-maintainer.