##// END OF EJS Templates
largefiles: remove a mutable default argument...
Pierre-Yves David -
r26339:4afdd428 default
parent child Browse files
Show More
@@ -289,13 +289,15 b' def overridedirty(orig, repo, ignoreupda'
289 289 repo._repo.lfstatus = False
290 290
291 291 def overridelog(orig, ui, repo, *pats, **opts):
292 def overridematchandpats(ctx, pats=(), opts={}, globbed=False,
292 def overridematchandpats(ctx, pats=(), opts=None, globbed=False,
293 293 default='relpath', badfn=None):
294 294 """Matcher that merges root directory with .hglf, suitable for log.
295 295 It is still possible to match .hglf directly.
296 296 For any listed files run log on the standin too.
297 297 matchfn tries both the given filename and with .hglf stripped.
298 298 """
299 if opts is None:
300 opts = {}
299 301 matchandpats = oldmatchandpats(ctx, pats, opts, globbed, default,
300 302 badfn=badfn)
301 303 m, p = copy.copy(matchandpats)
General Comments 0
You need to be logged in to leave comments. Login now