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

            Bug ID: 6383
           Summary: debugupgraderepo: AttributeError: type object
                    'removecldeltachain' has no attribute '_requirement'
           Product: Mercurial
           Version: 5.4.2
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: z...@zash.se
                CC: mercurial-devel@mercurial-scm.org
    Python Version: ---

Repo from 2009 can be found under prosody_debug_memory/lua-getsize in
https://prosody.im/files/prosody_debug_memory.tar.gz

lua-getsize$ HOME=/tmp HGPLAIN= ~/src/hg/hg debugupgraderepo
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0]
** Mercurial Distributed SCM (version 5.4.2+20200723)
** Extensions loaded: 
Traceback (most recent call last):
  File "/home/zash/src/hg/hg", line 43, in <module>
    dispatch.run()
  File "/home/zash/src/hg/mercurial/dispatch.py", line 112, in run
    status = dispatch(req)
  File "/home/zash/src/hg/mercurial/dispatch.py", line 298, in dispatch
    ret = _runcatch(req) or 0
  File "/home/zash/src/hg/mercurial/dispatch.py", line 472, in _runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/home/zash/src/hg/mercurial/dispatch.py", line 481, in _callcatch
    return scmutil.callcatch(ui, func)
  File "/home/zash/src/hg/mercurial/scmutil.py", line 152, in callcatch
    return func()
  File "/home/zash/src/hg/mercurial/dispatch.py", line 462, in _runcatchfunc
    return _dispatch(req)
  File "/home/zash/src/hg/mercurial/dispatch.py", line 1226, in _dispatch
    lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
  File "/home/zash/src/hg/mercurial/dispatch.py", line 910, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/zash/src/hg/mercurial/dispatch.py", line 1237, in _runcommand
    return cmdfunc()
  File "/home/zash/src/hg/mercurial/dispatch.py", line 1223, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "/home/zash/src/hg/mercurial/util.py", line 1865, in check
    return func(*args, **kwargs)
  File "/home/zash/src/hg/mercurial/debugcommands.py", line 3790, in
debugupgraderepo
    ui, repo, run=run, optimize=optimize, backup=backup, **opts
  File "/home/zash/src/hg/mercurial/upgrade.py", line 1229, in upgraderepo
    actions = determineactions(repo, deficiencies, repo.requirements, newreqs)
  File "/home/zash/src/hg/mercurial/upgrade.py", line 632, in determineactions
    name = d._requirement
AttributeError: type object 'removecldeltachain' has no attribute
'_requirement'

Also reproducible on python2, identical traceback
** Python 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to