##// END OF EJS Templates
largefiles: drop unused 'pats' parameter from getstandinmatcher()...
Martin von Zweigbergk -
r25291:85f1aaf1 default
parent child Browse files
Show More
@@ -238,7 +238,7 b' def linktousercache(repo, hash):'
238 if path:
238 if path:
239 link(storepath(repo, hash), path)
239 link(storepath(repo, hash), path)
240
240
241 def getstandinmatcher(repo, pats=[], opts={}):
241 def getstandinmatcher(repo, pats=[]):
242 '''Return a match object that applies pats to the standin directory'''
242 '''Return a match object that applies pats to the standin directory'''
243 standindir = repo.wjoin(shortname)
243 standindir = repo.wjoin(shortname)
244 if pats:
244 if pats:
@@ -247,7 +247,7 b' def getstandinmatcher(repo, pats=[], opt'
247 # no patterns: relative to repo root
247 # no patterns: relative to repo root
248 pats = [standindir]
248 pats = [standindir]
249 # no warnings about missing files or directories
249 # no warnings about missing files or directories
250 match = scmutil.match(repo[None], pats, opts)
250 match = scmutil.match(repo[None], pats)
251 match.bad = lambda f, msg: None
251 match.bad = lambda f, msg: None
252 return match
252 return match
253
253
General Comments 0
You need to be logged in to leave comments. Login now