# HG changeset patch # User Sean Farley # Date 1376514585 18000 # Node ID f21804f1582e2132140681e20916decf3a1c36bd # Parent 897c2dbc02560230a36328829d9c9eb049b3a490 commitablectx: move files from workingctx diff -r 897c2dbc0256 -r f21804f1582e mercurial/context.py --- 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):