stablerange: compute the subrange closure on an unfiltered repository
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 10 Dec 2017 05:04:41 +0100
changeset 3268 10badf5951e5
parent 3267 f9206b009f48
child 3271 21a46dbb0fcb
stablerange: compute the subrange closure on an unfiltered repository This avoid various overhead from filtering.
hgext3rd/evolve/stablerange.py
--- a/hgext3rd/evolve/stablerange.py	Sun Nov 26 10:34:46 2017 -0500
+++ b/hgext3rd/evolve/stablerange.py	Sun Dec 10 05:04:41 2017 +0100
@@ -135,7 +135,7 @@
     stablerange.warmup(repo, max(revs))
 
     if opts['subranges']:
-        ranges = subrangesclosure(repo, stablerange, revs)
+        ranges = subrangesclosure(unfi, stablerange, revs)
     else:
         ranges = [(r, 0) for r in revs]