##// END OF EJS Templates
largefiles: remove a mutable default argument...
Pierre-Yves David -
r26343:019559aa default
parent child Browse files
Show More
@@ -728,8 +728,10 b' def overriderevert(orig, ui, repo, ctx, '
728
728
729 oldstandins = lfutil.getstandinsstate(repo)
729 oldstandins = lfutil.getstandinsstate(repo)
730
730
731 def overridematch(mctx, pats=(), opts={}, globbed=False,
731 def overridematch(mctx, pats=(), opts=None, globbed=False,
732 default='relpath', badfn=None):
732 default='relpath', badfn=None):
733 if opts is None:
734 opts = {}
733 match = oldmatch(mctx, pats, opts, globbed, default, badfn=badfn)
735 match = oldmatch(mctx, pats, opts, globbed, default, badfn=badfn)
734 m = copy.copy(match)
736 m = copy.copy(match)
735
737
General Comments 0
You need to be logged in to leave comments. Login now