strange python error, when running hg log (well vc-print-root-log)

Marcin Kasperski Marcin.Kasperski at mekk.waw.pl
Mon Oct 31 10:02:35 UTC 2022


Uwe Brauer <oub at mat.ucm.es> writes:

>>>> "MK" == Marcin Kasperski <Marcin.Kasperski at mekk.waw.pl> writes:
>
>>> | ** Mercurial Distributed SCM (version 5.2rc0+20200125)
>> Fairly old and pre-release version. What about using stable one at least?
>
>
> Well I need one which works with the artemis extension (extension for
>

Use even hg 4.1 if you need to. Just don't use „rc0”, this is unstable
pre-release.
I would also steer out of early 5.* as those were versions
which started to work on py3 support, with some resulting glitches.

Also, problems with `hg log` can sometimes result from using various
mercurial versions on the same checkout. You can try removing
.hg/cache contents and if it doesn't help, re-cloning repo with
the version you use. Mercurial mostly does good job working with
checkouts made by older versions (although I have to remove
aforementioned .hg/cache from time to time after major upgrade)
but downgrade (say checking repo with hg6 and using with hg5)
is more risky.

PS Mercurials up to 5.9 work on py2 (but make sure you use proper python
to run them as py3 can be also used).


More information about the Mercurial mailing list