repository: document that file() return value conforms to interface
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 30 Jun 2018 15:51:04 -0700
changeset 38509 5cfb01d5ff26
parent 38508 39db5a01cd53
child 38510 561a450c7b64
repository: document that file() return value conforms to interface Differential Revision: https://phab.mercurial-scm.org/D3867
mercurial/repository.py
--- a/mercurial/repository.py	Sun Jul 01 21:40:55 2018 +0900
+++ b/mercurial/repository.py	Sat Jun 30 15:51:04 2018 -0700
@@ -863,7 +863,10 @@
         """Calls self.vfs.reljoin(self.root, f, *insidef)"""
 
     def file(f):
-        """Obtain a filelog for a tracked path."""
+        """Obtain a filelog for a tracked path.
+
+        The returned type conforms to the ``ifilestorage`` interface.
+        """
 
     def setparents(p1, p2):
         """Set the parent nodes of the working directory."""