##// END OF EJS Templates
match: remove a mutable default argument...
Pierre-Yves David -
r26325:cce8ebd3 default
parent child Browse files
Show More
@@ -753,7 +753,7 b' def expandpats(pats):'
753 ret.append(kindpat)
753 ret.append(kindpat)
754 return ret
754 return ret
755
755
756 def matchandpats(ctx, pats=[], opts={}, globbed=False, default='relpath',
756 def matchandpats(ctx, pats=(), opts={}, globbed=False, default='relpath',
757 badfn=None):
757 badfn=None):
758 '''Return a matcher and the patterns that were used.
758 '''Return a matcher and the patterns that were used.
759 The matcher will warn about bad matches, unless an alternate badfn callback
759 The matcher will warn about bad matches, unless an alternate badfn callback
General Comments 0
You need to be logged in to leave comments. Login now