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