equal
deleted
inserted
replaced
294 if rmatcher and not rmatcher.always(): |
294 if rmatcher and not rmatcher.always(): |
295 pats = [wvfs.join(standindir, pat) for pat in rmatcher.files()] |
295 pats = [wvfs.join(standindir, pat) for pat in rmatcher.files()] |
296 if not pats: |
296 if not pats: |
297 pats = [wvfs.join(standindir)] |
297 pats = [wvfs.join(standindir)] |
298 match = scmutil.match(repo[None], pats, badfn=badfn) |
298 match = scmutil.match(repo[None], pats, badfn=badfn) |
299 # if pats is empty, it would incorrectly always match, so clear _always |
|
300 match._always = False |
|
301 else: |
299 else: |
302 # no patterns: relative to repo root |
300 # no patterns: relative to repo root |
303 match = scmutil.match(repo[None], [wvfs.join(standindir)], badfn=badfn) |
301 match = scmutil.match(repo[None], [wvfs.join(standindir)], badfn=badfn) |
304 return match |
302 return match |
305 |
303 |