mercurial/localrepo.py
changeset 37172 daef13da66fe
parent 37137 db90a5793103
child 37174 bb47dc2f71a0
--- a/mercurial/localrepo.py	Thu Mar 29 21:15:40 2018 -0700
+++ b/mercurial/localrepo.py	Thu Mar 29 21:29:15 2018 -0700
@@ -1086,10 +1086,11 @@
                     if f not in pctx and s not in pctx:
                         self.dirstate.copy(None, f)
 
-    def filectx(self, path, changeid=None, fileid=None):
+    def filectx(self, path, changeid=None, fileid=None, changectx=None):
         """changeid can be a changeset revision, node, or tag.
            fileid can be a file revision or node."""
-        return context.filectx(self, path, changeid, fileid)
+        return context.filectx(self, path, changeid, fileid,
+                               changectx=changectx)
 
     def getcwd(self):
         return self.dirstate.getcwd()