diff hgext/rebase.py @ 7130:204c7850c158

rebase: disable rollback after rebasing
author Stefano Tortarolo <stefano.tortarolo@gmail.com>
date Sat, 18 Oct 2008 17:00:28 +0200
parents 9df67ee30ef5
children b4c035057d34
line wrap: on
line diff
--- 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: