hgext/rebase.py
changeset 27229 40a2f972f26d
parent 27167 3fe8cb40c9c5
child 27260 d755a9531fce
--- a/hgext/rebase.py	Thu Dec 03 21:25:05 2015 -0800
+++ b/hgext/rebase.py	Thu Dec 03 08:31:20 2015 -0800
@@ -563,10 +563,10 @@
                 if activebookmark not in repo._bookmarks:
                     # active bookmark was divergent one and has been deleted
                     activebookmark = None
-            clearstatus(repo)
             tr.close()
         finally:
             release(tr)
+        clearstatus(repo)
 
         ui.note(_("rebase completed\n"))
         util.unlinkpath(repo.sjoin('undo'), ignoremissing=True)