Show More
@@ -238,7 +238,7 b' def linktousercache(repo, hash):' | |||
|
238 | 238 | if path: |
|
239 | 239 | link(storepath(repo, hash), path) |
|
240 | 240 | |
|
241 |
def getstandinmatcher(repo, pats=[] |
|
|
241 | def getstandinmatcher(repo, pats=[]): | |
|
242 | 242 | '''Return a match object that applies pats to the standin directory''' |
|
243 | 243 | standindir = repo.wjoin(shortname) |
|
244 | 244 | if pats: |
@@ -247,7 +247,7 b' def getstandinmatcher(repo, pats=[], opt' | |||
|
247 | 247 | # no patterns: relative to repo root |
|
248 | 248 | pats = [standindir] |
|
249 | 249 | # no warnings about missing files or directories |
|
250 |
match = scmutil.match(repo[None], pats |
|
|
250 | match = scmutil.match(repo[None], pats) | |
|
251 | 251 | match.bad = lambda f, msg: None |
|
252 | 252 | return match |
|
253 | 253 |
General Comments 0
You need to be logged in to leave comments.
Login now