changeset 2388:385156ab55b8

obshashcache: properly break out of all loops
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 17 May 2017 12:26:15 +0200
parents a41d900d015c
children 8dd4de460b64
files hgext3rd/evolve/obsdiscovery.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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