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 71 forks source link

Unknown exception encountered with possibly-broken third-party extension hggit #289

Open gerroon opened 9 years ago

gerroon commented 9 years ago

Hi

I am trying to use this on Linux but getting this error. It seems like it does not like the HG version?

I tried cloning the git repo and manually pointing to the hggit folder in .hgrc but that did not help either.

This similar process was not throwing this error ona system that had Hg 3.0.1

I am trying to clone a local folder on the system.

error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to possible repository corruption on the remote side. * Unknown exception encountered with possibly-broken third-party extension hggit * which supports versions 3.1 of Mercurial. * Please disable hggit and try your action again. * If that fixes the bug please report it to https://bitbucket.org/durin42/hg-git/issues * Python 2.7.8 (default, Oct 18 2014, 12:50:18) [GCC 4.9.1] * Mercurial Distributed SCM (version 3.1.2) * Extensions loaded: convert, hggit Traceback (most recent call last): File "/usr/bin/hg", line 43, in mercurial.dispatch.run() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 28, in run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 69, in dispatch ret = _runcatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 138, in _runcatch return _dispatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 839, in _dispatch cmdpats, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 600, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 930, in _runcommand return checkargs() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 901, in checkargs return cmdfunc() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 836, in d = lambda: util.checksignature(func)(ui, _args, _cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 550, in check return func(_args, _kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1331, in clone branch=opts.get('branch')) File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 402, in clone destpeer.local().clone(srcpeer, heads=revs, stream=stream) File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 1730, in clone return self.pull(remote, heads) File "/opt/hg-git/hggit/util.py", line 41, in inner return f(_args, _kwargs) File "/opt/hg-git/hggit/hgrepo.py", line 18, in pull return self.githandler.fetch(remote.path, heads) File "/opt/hg-git/hggit/git_handler.py", line 228, in fetch refs = self.fetch_pack(remote, heads) File "/opt/hg-git/hggit/git_handler.py", line 1046, in fetch_pack ret = client.fetch_pack(path, determine_wants, graphwalker, f.write, progress.progress) File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 536, in fetch_pack proto, negotiated_capabilities, graph_walker, pack_data, progress) File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 401, in _handle_upload_pack_tail self._read_side_band64k_data(proto, {1: pack_data, 2: progress}) File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 282, in _read_side_band64k_data raise AssertionError('Invalid sideband channel %d' % channel) AssertionError: Invalid sideband channel 3

cvielma commented 7 years ago

Same issue here.

shuklaalok7 commented 7 years ago

Same issue here. Have you guys found anything?

ZvOlCuOk2009 commented 7 years ago

The same situation

bhurkesanket commented 5 years ago

I had similar issue. I run this command "easy_install keyring" now it is working. Hope this works for you.