# HG changeset patch # User Sean Farley # Date 1376514929 18000 # Node ID 42ffc7f31acf576f9046a081aaf6a68788872461 # Parent cfc4ae65023fe77c72bc21275a1869d2f5a49619 commitablectx: move removed from workingctx diff -r cfc4ae65023f -r 42ffc7f31acf mercurial/context.py --- a/mercurial/context.py Wed Aug 14 16:15:18 2013 -0500 +++ b/mercurial/context.py Wed Aug 14 16:15:29 2013 -0500 @@ -974,6 +974,8 @@ return self._status[0] def added(self): return self._status[1] + def removed(self): + return self._status[2] class workingctx(commitablectx): """A workingctx object makes access to data related to @@ -1001,8 +1003,6 @@ p = p[:-1] return [changectx(self._repo, x) for x in p] - def removed(self): - return self._status[2] def deleted(self): return self._status[3] def unknown(self):