hgext/histedit.py
changeset 22923 9e893247a41c
parent 22904 baa3cfa03a83
child 22951 6c86c673dde6
--- a/hgext/histedit.py	Fri Oct 03 22:12:43 2014 -0700
+++ b/hgext/histedit.py	Sat Oct 04 21:19:44 2014 -0700
@@ -681,8 +681,8 @@
 
     # Commit dirty working directory if necessary
     new = None
-    m, a, r, d = repo.status()[:4]
-    if m or a or r or d:
+    s = repo.status()
+    if s.modified or s.added or s.removed or s.deleted:
         # prepare the message for the commit to comes
         if action in ('f', 'fold', 'r', 'roll'):
             message = 'fold-temp-revision %s' % currentnode