mercurial/commands.py
changeset 35128 fd8b6b183073
parent 35106 4b288d118d8b
child 35147 3da4bd50103d
--- a/mercurial/commands.py	Wed Nov 22 19:24:22 2017 -0800
+++ b/mercurial/commands.py	Thu Nov 23 14:11:27 2017 -0800
@@ -854,7 +854,7 @@
                 ui.status(_('changeset %d:%s: %s\n') % (ctx, ctx, transition))
                 hbisect.checkstate(state)
                 # bisect
-                nodes, changesets, bgood = hbisect.bisect(repo.changelog, state)
+                nodes, changesets, bgood = hbisect.bisect(repo, state)
                 # update to next check
                 node = nodes[0]
                 mayupdate(repo, node, show_stats=False)
@@ -867,7 +867,7 @@
     hbisect.checkstate(state)
 
     # actually bisect
-    nodes, changesets, good = hbisect.bisect(repo.changelog, state)
+    nodes, changesets, good = hbisect.bisect(repo, state)
     if extend:
         if not changesets:
             extendnode = hbisect.extendrange(repo, state, nodes, good)