[summary command] (was: cannot use HG > 5.2 with extension Artemis: failed to import extension artemis from)
Uwe Brauer
oub at mat.ucm.es
Sun Oct 30 10:21:12 UTC 2022
>>> "UB" == Uwe Brauer <oub at mat.ucm.es> writes:
> Hi
> Artemis is a nice issue tracker https://www.mrzv.org/software/artemis/
> unfortunately abounded by its author.
> Artemis relies on python 2.7 as far as I can see and Dan Villiom
> Podlaski Christiansen tried to port it to python 3 but not all feature
> work in that version.
It seems that for HG>5.2
The following line causes troubles
summaries.sort(lambda (s1,d1),(s2,d2): cmp(d2,d1))
Dan replaced it with
summaries.sort(key=operator.itemgetter(1))
But then the command ilist does not display the necessary information as
indicated in the loop
for s,d in summaries:
ui.write(s + b'\n')
Any suggestion would be welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20221030/8a9b19b5/attachment.p7s>
More information about the Mercurial-devel
mailing list