mercurial/commands.py
changeset 30065 ee21ed7fc7a2
parent 30064 b24804f72116
child 30066 5f93737d0ba8
--- a/mercurial/commands.py	Wed Aug 24 04:31:49 2016 +0200
+++ b/mercurial/commands.py	Wed Aug 24 04:13:53 2016 +0200
@@ -902,8 +902,7 @@
     cmdutil.checkunfinished(repo)
 
     if reset:
-        if repo.vfs.exists("bisect.state"):
-            repo.vfs.unlink("bisect.state")
+        hbisect.resetstate(repo)
         return
 
     state = hbisect.load_state(repo)