# HG changeset patch # User Sean Farley # Date 1376279662 18000 # Node ID bb6fd06975a66172a1caeaf6d49747298e6d1ded # Parent 1c030c24e196458a20cd8dab05fece6e29b8cab3 basefilectx: move description from filectx diff -r 1c030c24e196 -r bb6fd06975a6 mercurial/context.py --- a/mercurial/context.py Sun Aug 11 22:54:12 2013 -0500 +++ b/mercurial/context.py Sun Aug 11 22:54:22 2013 -0500 @@ -499,6 +499,8 @@ return self._changectx.date() def files(self): return self._changectx.files() + def description(self): + return self._changectx.description() class filectx(basefilectx): """A filecontext object makes access to data related to a particular @@ -555,8 +557,6 @@ return filectx(self._repo, self._path, fileid=fileid, filelog=self._filelog) - def description(self): - return self._changectx.description() def branch(self): return self._changectx.branch() def extra(self):