[PATCH 2 of 3] localrepo: document nodebookmarks

Augie Fackler raf at durin42.com
Tue Dec 1 11:20:34 CST 2015


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1447290125 18000
#      Wed Nov 11 20:02:05 2015 -0500
# Node ID c35c8a27f30f9406e9b0dbda47d294106e029429
# Parent  0c344df84bde07b11cfcb3167ac6f806f2505350
localrepo: document nodebookmarks

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -759,6 +759,7 @@ class localrepository(object):
         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:


More information about the Mercurial-devel mailing list