hgext/rebase.py
changeset 24945 e0b0fbd47491
parent 24944 08ec11e3ae4c
child 24947 a02d293a1079
--- a/hgext/rebase.py	Mon Apr 13 21:53:37 2015 -0700
+++ b/hgext/rebase.py	Mon Apr 13 22:27:01 2015 -0700
@@ -498,7 +498,7 @@
 
         if (activebookmark and
             repo['.'].node() == repo._bookmarks[activebookmark]):
-                bookmarks.setcurrent(repo, activebookmark)
+                bookmarks.activate(repo, activebookmark)
 
     finally:
         release(lock, wlock)
@@ -888,7 +888,7 @@
             repair.strip(repo.ui, repo, strippoints)
 
     if activebookmark:
-        bookmarks.setcurrent(repo, activebookmark)
+        bookmarks.activate(repo, activebookmark)
 
     clearstatus(repo)
     repo.ui.warn(_('rebase aborted\n'))