mercurial/hbisect.py
changeset 14215 e5a59d31bb04
parent 12067 a4fbbe0fbc38
child 14893 01e0091679c0
--- a/mercurial/hbisect.py	Thu May 05 18:05:24 2011 +0200
+++ b/mercurial/hbisect.py	Fri May 06 10:02:46 2011 +0200
@@ -54,10 +54,10 @@
             return badrev, None
         return badrev, ancestors
 
-    good = 0
+    good = False
     badrev, ancestors = buildancestors(state['bad'], state['good'])
     if not ancestors: # looking for bad to good transition?
-        good = 1
+        good = True
         badrev, ancestors = buildancestors(state['good'], state['bad'])
     bad = changelog.node(badrev)
     if not ancestors: # now we're confused