[Bug 6848] New: hg incoming: unknown exception encountered

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Oct 26 05:35:47 UTC 2023


https://bz.mercurial-scm.org/show_bug.cgi?id=6848

            Bug ID: 6848
           Summary: hg incoming:  unknown exception encountered
           Product: Mercurial
           Version: 6.5.2
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: richard.palo at free.fr
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

On Arch (well, EndeavourOS), 
> Linux 6.5.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Oct 2023 22:52:14 +0000 x86_64 unknown unknown GNU/Linux

after updating to Mercurial 6.5.2, I can no longer do an `hg incoming' on
[some] mercurial repositories.

In particular the repository indicated below:

$ hg inc
comparaison avec https://foss.heptapod.net/tryton/tryton/
searching for changes
changeset:   96805:17b0d04b3258
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.11.5 (main, Sep  2 2023, 14:16:33) [GCC 13.2.1 20230801]
** Mercurial version 6.5.2, système de gestion de sources distribué
** Extensions chargées : absorb, evolve 11.1.0, graphlog, hgk, highlight,
histedit, rebase, show, topic 1.1.0
Traceback (most recent call last):
  File "/usr/sbin/hg", line 59, in <module>
    dispatch.run()
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 143, in
run
    status = dispatch(req)
             ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 232, in
dispatch
    status = _rundispatch(req)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 276, in
_rundispatch
    ret = _runcatch(req) or 0
          ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 457, in
_runcatch
    return _callcatch(ui, _runcatchfunc)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 467, in
_callcatch
    return scmutil.callcatch(ui, func)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/scmutil.py", line 153, in
callcatch
    return func()
           ^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 447, in
_runcatchfunc
    return _dispatch(req)
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 1272, in
_dispatch
    return runcommand(
           ^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 905, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 1284, in
_runcommand
    return cmdfunc()
           ^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/dispatch.py", line 1270, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/util.py", line 1881, in
check
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/commands.py", line 4426, in
incoming
    return hg.incoming(ui, repo, source, opts)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/hg.py", line 1419, in
incoming
    return _incoming(
           ^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/hg.py", line 1385, in
_incoming
    displaychlist(other, chlist, displayer)
  File "/usr/lib/python3.11/site-packages/mercurial/hg.py", line 1417, in
display
    displayer.show(other[n])
  File "/usr/lib/python3.11/site-packages/mercurial/logcmdutil.py", line 304,
in show
    self._show(ctx, copies, props)
  File "/usr/lib/python3.11/site-packages/mercurial/logcmdutil.py", line 337,
in _show
    for name in ns.names(self.repo, changenode):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/namespaces.py", line 220,
in names
    return sorted(self.nodemap(repo, node))
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/namespaces.py", line 49, in
<lambda>
    tagnodemap = lambda repo, node: repo.nodetags(node)
                                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/localrepo.py", line 2219,
in nodetags
    if not self._tagscache.nodetagscache:
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/util.py", line 1760, in
__get__
    result = self.func(obj)
             ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/localrepo.py", line 2140,
in _tagscache
    cache.tags, cache.tagtypes = self._findtags()
                                 ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/localrepo.py", line 2176,
in _findtags
    alltags = tagsmod.findglobaltags(self.ui, self)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/tags.py", line 183, in
findglobaltags
    (heads, tagfnode, valid, cachetags, shouldwrite) = _readtagcache(ui, repo)
                                                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/tags.py", line 466, in
_readtagcache
    if not len(repo.file(b'.hgtags')):
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/bundlerepo.py", line 474,
in file
    return super(bundlerepository, self).file(f)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/bundlerepo.py", line 474,
in file
    return super(bundlerepository, self).file(f)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mercurial/bundlerepo.py", line 474,
in file
    return super(bundlerepository, self).file(f)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  [Previous line repeated 970 more times]
RecursionError: maximum recursion depth exceeded

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list