changeset 2175:4162dbe7ff5c

stablerange: use subranges from the main class in _obshashrange This is the last method used on the class.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 22 Mar 2017 19:21:18 +0100
parents 71c518470e2c
children f5e1e43915a1
files hgext3rd/evolve/obsdiscovery.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/obsdiscovery.py	Wed Mar 22 19:20:30 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py	Wed Mar 22 19:21:18 2017 +0100
@@ -430,7 +430,7 @@
             pieces.append(mbin)
         pieces.sort()
     else:
-        for subrange in rangeid.subranges():
+        for subrange in repo.stablerange.subranges(repo, rangeid):
             obshash = _obshashrange(repo, subrange)
             if obshash != nullid:
                 pieces.append(obshash)