##// END OF EJS Templates
subrepo: access status members by name instead of by position...
Martin von Zweigbergk -
r40378:6f152067 default
parent child Browse files
Show More
@@ -1583,17 +1583,15 b' class gitsubrepo(abstractsubrepo):'
1583 if self._gitmissing():
1583 if self._gitmissing():
1584 return []
1584 return []
1585
1585
1586 (modified, added, removed,
1586 s = self.status(None, unknown=True, clean=True)
1587 deleted, unknown, ignored, clean) = self.status(None, unknown=True,
1588 clean=True)
1589
1587
1590 tracked = set()
1588 tracked = set()
1591 # dirstates 'amn' warn, 'r' is added again
1589 # dirstates 'amn' warn, 'r' is added again
1592 for l in (modified, added, deleted, clean):
1590 for l in (s.modified, s.added, s.deleted, s.clean):
1593 tracked.update(l)
1591 tracked.update(l)
1594
1592
1595 # Unknown files not of interest will be rejected by the matcher
1593 # Unknown files not of interest will be rejected by the matcher
1596 files = unknown
1594 files = s.unknown
1597 files.extend(match.files())
1595 files.extend(match.files())
1598
1596
1599 rejected = []
1597 rejected = []
General Comments 0
You need to be logged in to leave comments. Login now