Source: hg-git
Version: 1.0.2-1
Severity: grave
X-Debbugs-Cc:
jcri...@debian.org
Hi,
hg-git looks like it needs an update for compatibility with current
mercurial, see e.g.
https://ci.debian.net/data/autopkgtest/testing/amd64/h/hg-git/38210693/log.gz
> ** Unknown exception encountered with possibly-broken third-party extension "hggit" unknown (dulwich 0.21.6)
> ** which supports versions 6.4 of Mercurial.
> ** Please disable "hggit" and try your action again.
> ** If that fixes the bug please report it to
https://foss.heptapod.net/mercurial/hg-git/issues
> ** Python 3.11.5 (main, Aug 29 2023, 15:31:31) [GCC 13.2.0]
> ** Mercurial Distributed SCM (version 6.5.2)
> ** Extensions loaded: hggit unknown (dulwich 0.21.6)
> Traceback (most recent call last):
> File "/usr/bin/hg", line 59, in <module>
> dispatch.run()
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 143, in run
> status = dispatch(req)
> ^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 232, in dispatch
> status = _rundispatch(req)
> ^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 276, in _rundispatch
> ret = _runcatch(req) or 0
> ^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 457, in _runcatch
> return _callcatch(ui, _runcatchfunc)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 467, in _callcatch
> return scmutil.callcatch(ui, func)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/scmutil.py", line 153, in callcatch
> return func()
> ^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 447, in _runcatchfunc
> return _dispatch(req)
> ^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1272, in _dispatch
> return runcommand(
> ^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 905, in runcommand
> ret = _runcommand(ui, options, cmd, d)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1284, in _runcommand
> return cmdfunc()
> ^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1270, in <lambda>
> d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1881, in check
> return func(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/commands.py", line 1992, in clone
> r = hg.clone(
> ^^^^^^^^^
> File "/usr/lib/python3/dist-packages/hggit/schemes.py", line 121, in clone
> srcpeer, destpeer = orig(*args, **opts)
> ^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/hg.py", line 727, in clone
> srcpeer = peer(ui, peeropts, src_path)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/hggit/schemes.py", line 112, in peer
> newpeer = orig(uiorrepo, *args, **opts)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mercurial/hg.py", line 286, in peer
> peer = repo.peer(path=peer_path, remotehidden=remotehidden)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> TypeError: gitrepo.peer() got an unexpected keyword argument 'remotehidden'
Cheers,
Julien