obshashcache: properly break out of all loops
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 17 May 2017 12:26:15 +0200
changeset 2388 385156ab55b8
parent 2387 a41d900d015c
child 2389 8dd4de460b64
obshashcache: properly break out of all loops
hgext3rd/evolve/obsdiscovery.py
--- a/hgext3rd/evolve/obsdiscovery.py	Wed May 17 12:23:10 2017 +0200
+++ b/hgext3rd/evolve/obsdiscovery.py	Wed May 17 12:26:15 2017 +0200
@@ -498,6 +498,9 @@
                 else:
                     continue
                 break
+            else:
+                continue
+            break
 
         # XXX the current reset is too strong we could just drop the affected range