hgext/rebase.py
branchstable
changeset 19984 7d5e7799a29f
parent 19971 2a9bb64faa0b
child 19986 ea81f8b2364e
--- a/hgext/rebase.py	Tue Nov 05 10:55:45 2013 +0100
+++ b/hgext/rebase.py	Mon Nov 04 19:59:00 2013 -0800
@@ -689,7 +689,7 @@
 
 def abort(repo, originalwd, target, state):
     'Restore the repository to its original state'
-    dstates = [s for s in state.values() if s != nullrev]
+    dstates = [s for s in state.values() if s > nullrev]
     immutable = [d for d in dstates if not repo[d].mutable()]
     cleanup = True
     if immutable: