Error using git-remote-hg
From: Charles Brossollet <hidden>
Date: 2016-06-15 23:01:06
Hello,
I have the following error while pushing to an hg repository though the "remote translator":
$ git remote -v
origin hg::ssh://charlesb05@hg.code.sf.net/u/charlesb05/lapdogapi (push)
origin hg::ssh://charlesb05@hg.code.sf.net/u/charlesb05/lapdogapi (fetch)
$ git push origin
Password:
searching for changes
no changes found
searching for changes
Traceback (most recent call last):
File "/usr/local/bin/git-remote-hg", line 1254, in <module>
sys.exit(main(sys.argv))
File "/usr/local/bin/git-remote-hg", line 1238, in main
do_export(parser)
File "/usr/local/bin/git-remote-hg", line 1119, in do_export
if not push(parser.repo, peer, parsed_refs, p_revs):
File "/usr/local/bin/git-remote-hg", line 1007, in push
ret = push_unsafe(repo, remote, parsed_refs, p_revs)
File "/usr/local/bin/git-remote-hg", line 984, in push_unsafe
cg = repo.getbundle('push', heads=list(p_revs), common=common)
File "/usr/local/lib/python2.7/site-packages/mercurial/repoview.py", line 217, in __getattr__
return getattr(self._unfilteredrepo, attr)
AttributeError: 'localrepository' object has no attribute 'getbundle'
I'm using git 1.9.3 on Mac OS X 10.9.2, with hg 3.0 installed with brew.
It used to work before, on this same repository, since then git and hg were both upgraded.
Thanks for help,
—-
Charles