diff hgext/rebase.py @ 24944:08ec11e3ae4c

bookmarks: rename unsetcurrent to deactivate (API) Today, the terms 'active' and 'current' are interchangeably used throughout the codebase in reference to the active bookmark (the bookmark that will be updated with the next commit). This leads to confusion among developers and users. This patch is part of a series to standardize the usage to 'active' throughout the mercurial codebase and user interface.
author Ryan McElroy <rmcelroy@fb.com>
date Mon, 13 Apr 2015 21:53:37 -0700
parents 4ec40a4db64a
children e0b0fbd47491
line wrap: on
line diff
--- a/hgext/rebase.py	Wed May 06 17:15:38 2015 +0200
+++ b/hgext/rebase.py	Mon Apr 13 21:53:37 2015 -0700
@@ -360,7 +360,7 @@
         currentbookmarks = repo._bookmarks.copy()
         activebookmark = activebookmark or repo._bookmarkcurrent
         if activebookmark:
-            bookmarks.unsetcurrent(repo)
+            bookmarks.deactivate(repo)
 
         extrafn = _makeextrafn(extrafns)