hgext/rebase.py
changeset 25102 bb2f543b48b5
parent 25099 5e111215e38b
parent 25101 91c2278c68a3
child 25186 80c5b2666a96
--- a/hgext/rebase.py	Tue Apr 14 12:53:48 2015 -0700
+++ b/hgext/rebase.py	Fri May 15 11:52:09 2015 -0500
@@ -890,7 +890,7 @@
             # no backup of rebased cset versions needed
             repair.strip(repo.ui, repo, strippoints)
 
-    if activebookmark:
+    if activebookmark and activebookmark in repo._bookmarks:
         bookmarks.activate(repo, activebookmark)
 
     clearstatus(repo)