##// END OF EJS Templates
largefiles: remove a mutable default argument...
Pierre-Yves David -
r26337:932330c3 default
parent child Browse files
Show More
@@ -50,8 +50,10 b' def composenormalfilematcher(match, mani'
50
50
51 def installnormalfilesmatchfn(manifest):
51 def installnormalfilesmatchfn(manifest):
52 '''installmatchfn with a matchfn that ignores all largefiles'''
52 '''installmatchfn with a matchfn that ignores all largefiles'''
53 def overridematch(ctx, pats=(), opts={}, globbed=False,
53 def overridematch(ctx, pats=(), opts=None, globbed=False,
54 default='relpath', badfn=None):
54 default='relpath', badfn=None):
55 if opts is None:
56 opts = {}
55 match = oldmatch(ctx, pats, opts, globbed, default, badfn=badfn)
57 match = oldmatch(ctx, pats, opts, globbed, default, badfn=badfn)
56 return composenormalfilematcher(match, manifest)
58 return composenormalfilematcher(match, manifest)
57 oldmatch = installmatchfn(overridematch)
59 oldmatch = installmatchfn(overridematch)
General Comments 0
You need to be logged in to leave comments. Login now