changeset 27166:263db31329a6

localrepo: document nodebookmarks
author Augie Fackler <augie@google.com>
date Wed, 11 Nov 2015 20:02:05 -0500
parents 70884715725e
children 3fe8cb40c9c5
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Nov 11 19:47:49 2015 -0500
+++ b/mercurial/localrepo.py	Wed Nov 11 20:02:05 2015 -0500
@@ -759,6 +759,7 @@
         return self._tagscache.nodetagscache.get(node, [])
 
     def nodebookmarks(self, node):
+        """return the list of bookmarks pointing to the specified node"""
         marks = []
         for bookmark, n in self._bookmarks.iteritems():
             if n == node: