diff mercurial/debugcommands.py @ 50559:1a4f54574e3d

stabletailgraph: clarify naiveness of current implementation Both the naive and the actual versions of the algorithms are going to co-exist for the tests. This makes is clearer that this one is naive.
author pacien <pacien.trangirard@pacien.net>
date Fri, 21 Apr 2023 14:32:58 +0200
parents 1b73868d17cf
children 8fb3e942473a
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Fri May 19 14:49:50 2023 +0200
+++ b/mercurial/debugcommands.py	Fri Apr 21 14:32:58 2023 +0200
@@ -3671,7 +3671,7 @@
     cl = repo.changelog
 
     displayer = logcmdutil.maketemplater(ui, repo, template)
-    sorted_revs = stabletailsort._stable_tail_sort(cl, rev)
+    sorted_revs = stabletailsort._stable_tail_sort_naive(cl, rev)
     for ancestor_rev in sorted_revs:
         displayer.show(repo[ancestor_rev])