Subject: mercurial-git currently broken in testing Package: mercurial-git Version: 0.10.4-4 Severity: important
Dear Maintainer, mercurial-git is currently broken in Debian testing. Attempting to clone a git repo results in the following error: importing git objects into hg transaction abort! rollback completed ** Unknown exception encountered with possibly-broken third-party extension "hggit" 0.10.4 (dulwich 0.20.50) ** which supports versions 6.1 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.10.9 (main, Dec 7 2022, 13:47:07) [GCC 12.2.0] ** Mercurial Distributed SCM (version 6.2.3) ** Extensions loaded: hggit 0.10.4 (dulwich 0.20.50) 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 451, in _runcatch return _callcatch(ui, _runcatchfunc) File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 461, 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 441, in _runcatchfunc return _dispatch(req) File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1254, in _dispatch return runcommand( File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 899, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1266, in _runcommand return cmdfunc() File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1252, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **strcmdopt) File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1880, in check return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/mercurial/commands.py", line 5463, in pull modheads = exchange.pull( File "/usr/lib/python3/dist-packages/hggit/util.py", line 63, in inner return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/hggit/__init__.py", line 563, in exchangepull pullop.cgresult = repo.githandler.fetch(remote.path, heads) File "/usr/lib/python3/dist-packages/hggit/git_handler.py", line 308, in fetch imported = self.import_git_objects(remote_name, filteredrefs) File "/usr/lib/python3/dist-packages/hggit/git_handler.py", line 850, in import_git_objects self.import_git_commit(commit) File "/usr/lib/python3/dist-packages/hggit/git_handler.py", line 1078, in import_git_commit node = unfiltered.commitctx(ctx) File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 236, in wrapper return orig(repo.unfiltered(), *args, **kwargs) File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 3247, in commitctx return commit.commitctx(self, ctx, error=error, origctx=origctx) File "/usr/lib/python3/dist-packages/mercurial/commit.py", line 84, in commitctx n = repo.changelog.add( File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 611, in add extra = encodeextra(extra) File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 85, in encodeextra items = [_string_escape(b'%s:%s' % (k, d[k])) for k in sorted(d)] File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 85, in <listcomp> items = [_string_escape(b'%s:%s' % (k, d[k])) for k in sorted(d)] TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'generator' -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.0.0-4-amd64 (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mercurial-git depends on: ii mercurial [python3-mercurial] 6.2.3-1+b1 ii python3 3.10.6-1 ii python3-dulwich 0.20.50-1+b1 mercurial-git recommends no packages. mercurial-git suggests no packages. -- no debconf information -- Chris Jones