mercurial/context.py
changeset 19679 f21804f1582e
parent 19678 897c2dbc0256
child 19680 fc33fcfa08f2
--- a/mercurial/context.py	Wed Aug 14 16:09:30 2013 -0500
+++ b/mercurial/context.py	Wed Aug 14 16:09:45 2013 -0500
@@ -967,6 +967,8 @@
         return self._date
     def description(self):
         return self._text
+    def files(self):
+        return sorted(self._status[0] + self._status[1] + self._status[2])
 
 class workingctx(commitablectx):
     """A workingctx object makes access to data related to
@@ -994,9 +996,6 @@
             p = p[:-1]
         return [changectx(self._repo, x) for x in p]
 
-    def files(self):
-        return sorted(self._status[0] + self._status[1] + self._status[2])
-
     def modified(self):
         return self._status[0]
     def added(self):