Show More
@@ -247,6 +247,8 b' def getstandinmatcher(repo, rmatcher=Non' | |||||
247 |
|
247 | |||
248 | if rmatcher and not rmatcher.always(): |
|
248 | if rmatcher and not rmatcher.always(): | |
249 | pats = [os.path.join(standindir, pat) for pat in rmatcher.files()] |
|
249 | pats = [os.path.join(standindir, pat) for pat in rmatcher.files()] | |
|
250 | if not pats: | |||
|
251 | pats = [standindir] | |||
250 | match = scmutil.match(repo[None], pats, badfn=badfn) |
|
252 | match = scmutil.match(repo[None], pats, badfn=badfn) | |
251 | # if pats is empty, it would incorrectly always match, so clear _always |
|
253 | # if pats is empty, it would incorrectly always match, so clear _always | |
252 | match._always = False |
|
254 | match._always = False |
General Comments 0
You need to be logged in to leave comments.
Login now