basefilectx: move user from filectx
authorSean Farley <sean.michael.farley@gmail.com>
Sun, 11 Aug 2013 22:53:47 -0500
changeset 19592 1cdb3b3df4df
parent 19591 04fbc85f870a
child 19593 e3c241c89350
basefilectx: move user from filectx
mercurial/context.py
--- a/mercurial/context.py	Sun Aug 11 22:53:23 2013 -0500
+++ b/mercurial/context.py	Sun Aug 11 22:53:47 2013 -0500
@@ -493,6 +493,8 @@
         return self._changectx.node()
     def hex(self):
         return self._changectx.hex()
+    def user(self):
+        return self._changectx.user()
 
 class filectx(basefilectx):
     """A filecontext object makes access to data related to a particular
@@ -549,8 +551,6 @@
         return filectx(self._repo, self._path, fileid=fileid,
                        filelog=self._filelog)
 
-    def user(self):
-        return self._changectx.user()
     def date(self):
         return self._changectx.date()
     def files(self):