# HG changeset patch # User Sean Farley # Date 1376279679 18000 # Node ID 837bc86370f0e14ffe631c85a3b172cdbbb9c381 # Parent 9bc3d0dea3719f8e63804ce13d50d843598c7a8f basefilectx: move extra from filectx diff -r 9bc3d0dea371 -r 837bc86370f0 mercurial/context.py --- a/mercurial/context.py Sun Aug 11 22:54:31 2013 -0500 +++ b/mercurial/context.py Sun Aug 11 22:54:39 2013 -0500 @@ -503,6 +503,8 @@ return self._changectx.description() def branch(self): return self._changectx.branch() + def extra(self): + return self._changectx.extra() class filectx(basefilectx): """A filecontext object makes access to data related to a particular @@ -559,8 +561,6 @@ return filectx(self._repo, self._path, fileid=fileid, filelog=self._filelog) - def extra(self): - return self._changectx.extra() def phase(self): return self._changectx.phase() def phasestr(self):