changeset 19595:bb6fd06975a6

basefilectx: move description from filectx
author Sean Farley <sean.michael.farley@gmail.com>
date Sun, 11 Aug 2013 22:54:22 -0500
parents 1c030c24e196
children 9bc3d0dea371
files mercurial/context.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):