This revision was automatically updated to reflect the committed changes. Closed by commit rHG6f152067ba57: subrepo: access status members by name instead of by position (authored by martinvonz, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5144?vs=12218&id=12235 REVISION DETAIL https://phab.mercurial-scm.org/D5144 AFFECTED FILES mercurial/subrepo.py CHANGE DETAILS diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -1583,17 +1583,15 @@ if self._gitmissing(): return [] - (modified, added, removed, - deleted, unknown, ignored, clean) = self.status(None, unknown=True, - clean=True) + s = self.status(None, unknown=True, clean=True) tracked = set() # dirstates 'amn' warn, 'r' is added again - for l in (modified, added, deleted, clean): + for l in (s.modified, s.added, s.deleted, s.clean): tracked.update(l) # Unknown files not of interest will be rejected by the matcher - files = unknown + files = s.unknown files.extend(match.files()) rejected = [] To: martinvonz, #hg-reviewers, pulkit Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel