changeset 40757:5bcf264bb1a0

localrepo: correct docstring of filectx() The same reason as b6c2543e1dd8. It can't be any changeset specifiers but revision number.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 25 Nov 2018 22:39:54 +0900
parents 92c574684f75
children 578646b1e2b6
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Nov 24 20:05:55 2018 +0900
+++ b/mercurial/localrepo.py	Sun Nov 25 22:39:54 2018 +0900
@@ -1587,7 +1587,7 @@
                         self.dirstate.copy(None, f)
 
     def filectx(self, path, changeid=None, fileid=None, changectx=None):
-        """changeid can be a changeset revision, node, or tag.
+        """changeid must be a changeset revision, if specified.
            fileid can be a file revision or node."""
         return context.filectx(self, path, changeid, fileid,
                                changectx=changectx)