Hi
I am using Ubuntu 16.04
mercurial 4.4.1
and the latest changeset: bbad9283f80f
version of hg-git,
when I try to run
hg pull -u
I obtain
pulling from git+ssh://oub@git.code.sf.net/p/matlab-emacs/src
Password:
fatal: The remote end hung up unexpectedly
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 4004, in pull
opargs=pullopargs).cgresult
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 388, in exchangepull
pullop.cgresult = repo.githandler.fetch(remote.path, heads)
File "/home/oub/ALLES/src/hg-git/hggit/git_handler.py", line 280, in fetch
result = self.fetch_pack(remote, heads)
File "/home/oub/ALLES/src/hg-git/hggit/git_handler.py", line 1244, in fetch_pack
f.write, progress.progress)
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/client.py", line 749, in fetch_pack
proto, negotiated_capabilities, graph_walker, wants, can_read)
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/client.py", line 574, in _handle_upload_pack_head
have = next(graph_walker)
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/object_store.py", line 1173, in next
ps = self.get_parents(ret)
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/repo.py", line 373, in get_parents
commit = self[sha]
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/repo.py", line 476, in getitem
return self.object_store[self.refs[name]]
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/refs.py", line 256, in getitem
raise KeyError(name)
KeyError: '50266ff812607e55bddacd71a46d1b96e36fb0bd'
Hi I am using Ubuntu 16.04 mercurial 4.4.1 and the latest changeset: bbad9283f80f version of hg-git, when I try to run hg pull -u I obtain pulling from git+ssh://oub@git.code.sf.net/p/matlab-emacs/src Password: fatal: The remote end hung up unexpectedly 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 4004, in pull
opargs=pullopargs).cgresult
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 388, in exchangepull
pullop.cgresult = repo.githandler.fetch(remote.path, heads)
File "/home/oub/ALLES/src/hg-git/hggit/git_handler.py", line 280, in fetch
result = self.fetch_pack(remote, heads)
File "/home/oub/ALLES/src/hg-git/hggit/git_handler.py", line 1244, in fetch_pack
f.write, progress.progress)
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/client.py", line 749, in fetch_pack
proto, negotiated_capabilities, graph_walker, wants, can_read)
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/client.py", line 574, in _handle_upload_pack_head
have = next(graph_walker)
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/object_store.py", line 1173, in next
ps = self.get_parents(ret)
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/repo.py", line 373, in get_parents
commit = self[sha]
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/repo.py", line 476, in getitem
return self.object_store[self.refs[name]]
File "/home/oub/.local/lib/python2.7/site-packages/dulwich/refs.py", line 256, in getitem
raise KeyError(name)
KeyError: '50266ff812607e55bddacd71a46d1b96e36fb0bd'