##// END OF EJS Templates
status: avoid performance regression when no .hgsub is present...
Matt Mackall -
r11227:054549cc stable
parent child Browse files
Show More
@@ -1010,7 +1010,9 b' class localrepository(repo.repository):'
1010 match.bad = bad
1010 match.bad = bad
1011
1011
1012 if working: # we need to scan the working dir
1012 if working: # we need to scan the working dir
1013 subrepos = ctx1.substate.keys()
1013 subrepos = []
1014 if '.hgsub' in self.dirstate:
1015 subrepos = ctx1.substate.keys()
1014 s = self.dirstate.status(match, subrepos, listignored,
1016 s = self.dirstate.status(match, subrepos, listignored,
1015 listclean, listunknown)
1017 listclean, listunknown)
1016 cmp, modified, added, removed, deleted, unknown, ignored, clean = s
1018 cmp, modified, added, removed, deleted, unknown, ignored, clean = s
General Comments 0
You need to be logged in to leave comments. Login now