mercurial/commands.py
changeset 30065 ee21ed7fc7a2
parent 30064 b24804f72116
child 30066 5f93737d0ba8
equal deleted inserted replaced
30064:b24804f72116 30065:ee21ed7fc7a2
   900         raise error.Abort(_('incompatible arguments'))
   900         raise error.Abort(_('incompatible arguments'))
   901 
   901 
   902     cmdutil.checkunfinished(repo)
   902     cmdutil.checkunfinished(repo)
   903 
   903 
   904     if reset:
   904     if reset:
   905         if repo.vfs.exists("bisect.state"):
   905         hbisect.resetstate(repo)
   906             repo.vfs.unlink("bisect.state")
       
   907         return
   906         return
   908 
   907 
   909     state = hbisect.load_state(repo)
   908     state = hbisect.load_state(repo)
   910 
   909 
   911     if command:
   910     if command: