# HG changeset patch # User Pierre-Yves David # Date 1490206878 -3600 # Node ID 4162dbe7ff5c34b0448a98764ede82bdf9fdbc93 # Parent 71c518470e2cb4199cebaac7f368e02a8e670169 stablerange: use subranges from the main class in _obshashrange This is the last method used on the class. diff -r 71c518470e2c -r 4162dbe7ff5c hgext3rd/evolve/obsdiscovery.py --- 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)