hgext/rebase.py
changeset 7130 204c7850c158
parent 7127 9df67ee30ef5
child 7213 b4c035057d34
--- a/hgext/rebase.py	Sat Oct 18 16:51:26 2008 +0200
+++ b/hgext/rebase.py	Sat Oct 18 17:00:28 2008 +0200
@@ -105,6 +105,8 @@
 
         clearstatus(repo)
         ui.status(_("rebase completed\n"))
+        if os.path.exists(repo.sjoin('undo')):
+            util.unlink(repo.sjoin('undo'))
         if skipped:
             ui.note(_("%d revisions have been skipped\n") % len(skipped))
     finally: