commitsigs & Mercurial 5.6

A. Klitzing aklitzing at gmail.com
Mon Jan 4 12:12:23 UTC 2021


Hi Raphaël,

thanks for your quick response. I cannot commit anymore as I get this
stacktrace.

  File "/usr/lib/python3.9/site-packages/mercurial/localrepo.py", line
2951, in commitctx
   return commit.commitctx(self, ctx, error=error, origctx=origctx)
 File "/usr/lib/python3.9/site-packages/mercurial/commit.py", line 88,
in commitctx
   n = repo.changelog.add(
 File "/usr/lib/python3.9/site-packages/mercurial/extensions.py", line
512, in closure
   return func(*(args + a), **kw)
 File "/home/andre/hg/GnuPG/hgrc/commitsigs.py", line 337, in add
   h = chash(manifest, files, desc, p1, p2, user, date, extra)
 File "/home/andre/hg/GnuPG/hgrc/commitsigs.py", line 221, in chash
   l = [hex(manifest), user, parseddate] + sorted(files) + [b'', desc]
TypeError: 'ChangingFiles' object is not iterable

Before Mercurial 5.6 it was a simple list of strings.

Best regards
   André Klitzing



More information about the Mercurial mailing list