basefilectx: move filelog from filectx
authorSean Farley <sean.michael.farley@gmail.com>
Sun, 11 Aug 2013 22:51:18 -0500
changeset 19587 b1c344ebd8e4
parent 19586 43f9ed2f64b1
child 19588 a192fff6c97d
basefilectx: move filelog from filectx
mercurial/context.py
--- a/mercurial/context.py	Sun Aug 11 22:51:04 2013 -0500
+++ b/mercurial/context.py	Sun Aug 11 22:51:18 2013 -0500
@@ -483,6 +483,8 @@
         return self._filenode
     def flags(self):
         return self._changectx.flags(self._path)
+    def filelog(self):
+        return self._filelog
 
 class filectx(basefilectx):
     """A filecontext object makes access to data related to a particular
@@ -539,8 +541,6 @@
         return filectx(self._repo, self._path, fileid=fileid,
                        filelog=self._filelog)
 
-    def filelog(self):
-        return self._filelog
     def rev(self):
         return self._changeid
     def linkrev(self):