hgext/histedit.py
changeset 26582 42b908673866
parent 26335 6c93834d7d66
child 26583 49b568a4e539
--- a/hgext/histedit.py	Fri Oct 09 03:53:47 2015 +0900
+++ b/hgext/histedit.py	Mon Oct 05 16:34:17 2015 -0700
@@ -312,6 +312,9 @@
     def clear(self):
         self.repo.vfs.unlink('histedit-state')
 
+    def inprogress(self):
+        return self.repo.vfs.exists('histedit-state')
+
 class histeditaction(object):
     def __init__(self, state, node):
         self.state = state