# 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 --git a/hgext3rd/evolve/obsdiscovery.py b/hgext3rd/evolve/obsdiscovery.py --- a/hgext3rd/evolve/obsdiscovery.py +++ b/hgext3rd/evolve/obsdiscovery.py @@ -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)