# HG changeset patch # User Martin von Zweigbergk # Date 1432658808 25200 # Node ID 85f1aaf18ecb97643cb0c3f844e901449c865e10 # Parent 8f88f768e24ce71401ad8fe576230524adca0f5c largefiles: drop unused 'pats' parameter from getstandinmatcher() The parameter wasn't used even when it was imported from elsewhere in cfccd3bee7b3 (hgext: add largefiles extension, 2011-09-24). diff -r 8f88f768e24c -r 85f1aaf18ecb hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py Tue May 26 14:14:36 2015 -0700 +++ b/hgext/largefiles/lfutil.py Tue May 26 09:46:48 2015 -0700 @@ -238,7 +238,7 @@ if path: link(storepath(repo, hash), path) -def getstandinmatcher(repo, pats=[], opts={}): +def getstandinmatcher(repo, pats=[]): '''Return a match object that applies pats to the standin directory''' standindir = repo.wjoin(shortname) if pats: @@ -247,7 +247,7 @@ # no patterns: relative to repo root pats = [standindir] # no warnings about missing files or directories - match = scmutil.match(repo[None], pats, opts) + match = scmutil.match(repo[None], pats) match.bad = lambda f, msg: None return match