Patchwork D3867: repository: document that file() return value conforms to interface

login
register
mail settings
Submitter phabricator
Date July 1, 2018, 6:07 p.m.
Message ID <3fc7e202662e7194e0a5ae1d1430d5df@localhost.localdomain>
Download mbox | patch
Permalink /patch/32551/
State Not Applicable
Headers show

Comments

phabricator - July 1, 2018, 6:07 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5cfb01d5ff26: repository: document that file() return value conforms to interface (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3867?vs=9381&id=9393

REVISION DETAIL
  https://phab.mercurial-scm.org/D3867

AFFECTED FILES
  mercurial/repository.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/mercurial/repository.py b/mercurial/repository.py
--- a/mercurial/repository.py
+++ b/mercurial/repository.py
@@ -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."""