equal
deleted
inserted
replaced
1442 '.hgsubstate' not in (status.modified + status.added + |
1442 '.hgsubstate' not in (status.modified + status.added + |
1443 status.removed)): |
1443 status.removed)): |
1444 status.removed.insert(0, '.hgsubstate') |
1444 status.removed.insert(0, '.hgsubstate') |
1445 |
1445 |
1446 # make sure all explicit patterns are matched |
1446 # make sure all explicit patterns are matched |
1447 if not force and match.files(): |
1447 if not force and (match.isexact() or match.prefix()): |
1448 matched = set(status.modified + status.added + status.removed) |
1448 matched = set(status.modified + status.added + status.removed) |
1449 |
1449 |
1450 for f in match.files(): |
1450 for f in match.files(): |
1451 f = self.dirstate.normalize(f) |
1451 f = self.dirstate.normalize(f) |
1452 if f == '.' or f in matched or f in wctx.substate: |
1452 if f == '.' or f in matched or f in wctx.substate: |