diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1181,6 +1181,14 @@ def files(self): return sorted(self._status.modified + self._status.added + self._status.removed) + def modified(self): + return self._status.modified + def added(self): + return self._status.added + def removed(self): + return self._status.removed + def deleted(self): + return self._status.deleted @propertycache def _copies(self): p1copies = {} @@ -1201,14 +1209,6 @@ return self._copies[0] def p2copies(self): return self._copies[1] - def modified(self): - return self._status.modified - def added(self): - return self._status.added - def removed(self): - return self._status.removed - def deleted(self): - return self._status.deleted def branch(self): return encoding.tolocal(self._extra['branch']) def closesbranch(self):