localrepo: correct docstring of filectx()
authorYuya Nishihara <yuya@tcha.org>
Sun, 25 Nov 2018 22:39:54 +0900
changeset 40757 5bcf264bb1a0
parent 40756 92c574684f75
child 40758 578646b1e2b6
localrepo: correct docstring of filectx() The same reason as b6c2543e1dd8. It can't be any changeset specifiers but revision number.
mercurial/localrepo.py
--- 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)