Patchwork [2,of,3] localrepo: document nodebookmarks

login
register
mail settings
Submitter Augie Fackler
Date Dec. 1, 2015, 5:20 p.m.
Message ID <c35c8a27f30f9406e9b0.1448990434@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/11711/
State Accepted
Delegated to: Yuya Nishihara
Headers show

Comments

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

Patch

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: