# HG changeset patch # User Sean Farley # Date 1376515315 18000 # Node ID 6336f35ed77d19e8c597f068f15e7b7fbceb2e77 # Parent 42ffc7f31acf576f9046a081aaf6a68788872461 commitablectx: move deleted from workingctx diff -r 42ffc7f31acf -r 6336f35ed77d mercurial/context.py --- a/mercurial/context.py Wed Aug 14 16:15:29 2013 -0500 +++ b/mercurial/context.py Wed Aug 14 16:21:55 2013 -0500 @@ -976,6 +976,8 @@ return self._status[1] def removed(self): return self._status[2] + def deleted(self): + return self._status[3] class workingctx(commitablectx): """A workingctx object makes access to data related to @@ -1003,8 +1005,6 @@ p = p[:-1] return [changectx(self._repo, x) for x in p] - def deleted(self): - return self._status[3] def unknown(self): assert self._unknown is not None # must call status first return self._unknown