diff mercurial/localrepo.py @ 24947:a02d293a1079

bookmarks: rename bookmarkcurrent to activebookmark (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 Tue, 14 Apr 2015 13:17:33 -0700
parents c44534209a0a
children 48583a1e44f3
line wrap: on
line diff
--- a/mercurial/localrepo.py	Mon Apr 13 23:03:13 2015 -0700
+++ b/mercurial/localrepo.py	Tue Apr 14 13:17:33 2015 -0700
@@ -415,7 +415,7 @@
         return bookmarks.bmstore(self)
 
     @repofilecache('bookmarks.current')
-    def _bookmarkcurrent(self):
+    def _activebookmark(self):
         return bookmarks.readactive(self)
 
     def bookmarkheads(self, bookmark):