# HG changeset patch # User Sean Farley # Date 1398287300 18000 # Node ID 660ef8ca8c3c1258087ded07657e6c45aeb03532 # Parent e5deefcaa12ba22393702f4573b1bfd960e44483 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. diff -r e5deefcaa12b -r 660ef8ca8c3c mercurial/localrepo.py --- 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)