changeset 21591:660ef8ca8c3c

localrepo: remove cache code now handled by _prestatus This patch removes the last of the 'working' variable that was sprinkled throughout localrepo.status which paves the way for future patches to use the object oriented design of contexts to handle calculating the status.
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 23 Apr 2014 16:08:20 -0500
parents e5deefcaa12b
children 16f62b4203b1
files mercurial/localrepo.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Apr 23 16:06:42 2014 -0500
+++ b/mercurial/localrepo.py	Wed Apr 23 16:08:20 2014 -0500
@@ -1532,13 +1532,8 @@
             reversed = True
             ctx1, ctx2 = ctx2, ctx1
 
-        working = ctx2.rev() is None
         listignored, listclean, listunknown = ignored, clean, unknown
 
-        # load earliest manifest first for caching reasons
-        if not working and ctx2.rev() < ctx1.rev():
-            ctx2.manifest()
-
         r = [[], [], [], [], [], [], []]
         match = ctx2._matchstatus(ctx1, r, match, listignored, listclean,
                                   listunknown)