Mercurial > hg
changeset 19679:f21804f1582e
commitablectx: move files from workingctx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 16:09:45 -0500 |
parents | 897c2dbc0256 |
children | fc33fcfa08f2 |
files | mercurial/context.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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):