schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
620 stars 72 forks source link

can't push anymore #333

Open ouboub opened 5 years ago

ouboub commented 5 years ago

Hi

In the same setting as described in my previous issue, I cloned a git repo git clone git://git.savannah.gnu.org/auctex.git then I cloned that with mercurial hg clone auctex/ auctex-hg

I commited something and tried to push to the local git directory, I obtained

unknown exception encountered, please report by visiting https://mercurial-scm.org/wiki/BugTracker Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] Mercurial Distributed SCM (version 4.4.1) Extensions loaded: hggit Traceback (most recent call last): File "/usr/bin/hg", line 41, in dispatch.run() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 85, in run status = (dispatch(req) or 0) & 255 File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 173, in dispatch ret = _runcatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 313, in _runcatch return _callcatch(ui, _runcatchfunc) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 321, in _callcatch return scmutil.callcatch(ui, func) File "/usr/lib/python2.7/dist-packages/mercurial/scmutil.py", line 154, in callcatch return func() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 303, in _runcatchfunc return _dispatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 940, in _dispatch cmdpats, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 701, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 948, in _runcommand return cmdfunc() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 937, in d = lambda: util.checksignature(func)(ui, *args, *strcmdopt) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1183, in check return func(args, kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 4160, in push opargs=opargs) File "/home/oub/ALLES/src/hg-git/hggit/util.py", line 60, in inner return f(*args, **kwargs) File "/home/oub/ALLES/src/hg-git/hggit/init.py", line 421, in exchangepush pushop.cgresult = repo.githandler.push(remote.path, revs, force) File "/home/oub/ALLES/src/hg-git/hggit/git_handler.py", line 413, in push old_refs, new_refs = self.upload_pack(remote, revs, force) File "/home/oub/ALLES/src/hg-git/hggit/git_handler.py", line 1127, in upload_pack progress=callback) File "/home/oub/.local/lib/python2.7/site-packages/dulwich/client.py", line 701, in send_pack objects = generate_pack_contents(have, want) File "/home/oub/ALLES/src/hg-git/hggit/git_handler.py", line 1106, in genpack return self.git.object_store.generate_pack_data( AttributeError: 'DiskObjectStore' object has no attribute 'generate_pack_data'