AttributeError: 'changelog' object has no attribute 'nullid'
I tried hg serve
on a machine with the latest Prometheus clone, and tried pulling it into the repo mentioned in the previous issue, and got this with hg 6.4.2 and hg-git 1.0.2:
$ /c/Program\ Files/TortoiseHg/hg.exe in -r tip http://10.30.1.17:8000
comparing with http://10.30.1.17:8000/
searching for changes
** Unknown exception encountered with possibly-broken third-party extension "mercurial_keyring" unknown
** which supports versions unknown of Mercurial.
** Please disable "mercurial_keyring" and try your action again.
** If that fixes the bug please report it to https://foss.heptapod.net/mercurial/mercurial_keyring/issues
** Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
** Mercurial Distributed SCM (version 6.4.2)
** Extensions loaded: absorb, blackbox, evolve 11.0.1, extdiff, fastannotate, fix, git (pygit2 1.9.1), hggit 1.0.2 (dulwich 0.21.3), mercurial_keyring unknown, phabblocker 20230202, phabricator, rebase, show,
rip, topic 1.0.1
Traceback (most recent call last):
File "hg", line 58, in <module>
File "mercurial\dispatch.pyc", line 143, in run
File "mercurial\dispatch.pyc", line 232, in dispatch
File "mercurial\dispatch.pyc", line 276, in _rundispatch
File "mercurial\dispatch.pyc", line 451, in _runcatch
File "mercurial\dispatch.pyc", line 461, in _callcatch
File "mercurial\scmutil.pyc", line 153, in callcatch
File "mercurial\dispatch.pyc", line 441, in _runcatchfunc
File "mercurial\dispatch.pyc", line 1266, in _dispatch
File "mercurial\dispatch.pyc", line 899, in runcommand
File "mercurial\dispatch.pyc", line 1278, in _runcommand
File "mercurial\dispatch.pyc", line 1264, in <lambda>
File "mercurial\util.pyc", line 1881, in check
File "mercurial\commands.pyc", line 4418, in incoming
File "mercurial\hg.pyc", line 1410, in incoming
File "mercurial\hg.pyc", line 1365, in _incoming
File "hggit\gitrepo.pyc", line 179, in getremotechanges
File "mercurial\bundlerepo.pyc", line 614, in getremotechanges
File "mercurial\discovery.pyc", line 61, in findcommonincoming
File "mercurial\setdiscovery.pyc", line 412, in findcommonheads
AttributeError: 'changelog' object has no attribute 'nullid'
(I'm not sure why it's expected that changelog
objects have a nullid
instead of just looking at nodemod
, but maybe this is part of the transition off SHA-1?)