This revision was automatically updated to reflect the committed changes. Closed by commit rHG2ba96fca8528: committablectx: move status-related methods closer together (authored by martinvonz, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5996?vs=14172&id=14232 REVISION DETAIL https://phab.mercurial-scm.org/D5996 AFFECTED FILES mercurial/context.py CHANGE DETAILS diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1183,6 +1183,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 = {} @@ -1203,14 +1211,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): To: martinvonz, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel