# HG changeset patch # User Sean Farley # Date 2013-08-12 03:53:47 # Node ID 1cdb3b3df4df0f5a84555b5b3376980a6a451b74 # Parent 04fbc85f870a102862b1106296e4589c2c1cee3d basefilectx: move user from filectx diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -493,6 +493,8 @@ class basefilectx(object): 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 @@ class filectx(basefilectx): 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):