mercurial/context.py
changeset 19584 fe300e63c28c
parent 19583 e5074d82afc9
child 19585 8e553cd6071e
--- a/mercurial/context.py	Sun Aug 11 22:49:40 2013 -0500
+++ b/mercurial/context.py	Sun Aug 11 22:50:15 2013 -0500
@@ -477,6 +477,9 @@
     def __ne__(self, other):
         return not (self == other)
 
+    def filerev(self):
+        return self._filerev
+
 class filectx(basefilectx):
     """A filecontext object makes access to data related to a particular
        filerevision convenient."""
@@ -532,8 +535,6 @@
         return filectx(self._repo, self._path, fileid=fileid,
                        filelog=self._filelog)
 
-    def filerev(self):
-        return self._filerev
     def filenode(self):
         return self._filenode
     def flags(self):