changeset 25291:85f1aaf18ecb

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).
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 26 May 2015 09:46:48 -0700
parents 8f88f768e24c
children 31d543cd7062
files hgext/largefiles/lfutil.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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