# HG changeset patch # User Sean Farley # Date 1376514898 18000 # Node ID fc33fcfa08f2553ced1943f69ce916d8bd82ad26 # Parent f21804f1582e2132140681e20916decf3a1c36bd commitablectx: move modified from workingctx diff -r f21804f1582e -r fc33fcfa08f2 mercurial/context.py --- a/mercurial/context.py Wed Aug 14 16:09:45 2013 -0500 +++ b/mercurial/context.py Wed Aug 14 16:14:58 2013 -0500 @@ -970,6 +970,9 @@ def files(self): return sorted(self._status[0] + self._status[1] + self._status[2]) + def modified(self): + return self._status[0] + class workingctx(commitablectx): """A workingctx object makes access to data related to the current working directory convenient. @@ -996,8 +999,6 @@ p = p[:-1] return [changectx(self._repo, x) for x in p] - def modified(self): - return self._status[0] def added(self): return self._status[1] def removed(self):