mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
largefiles: remove a mutable default argument
Mutable default arguments are know to the state of California to cause bugs.
This commit is contained in:
parent
a7ba280694
commit
4dc7b8ccac
@ -289,7 +289,7 @@ def overridedirty(orig, repo, ignoreupdate=False):
|
||||
repo._repo.lfstatus = False
|
||||
|
||||
def overridelog(orig, ui, repo, *pats, **opts):
|
||||
def overridematchandpats(ctx, pats=[], opts={}, globbed=False,
|
||||
def overridematchandpats(ctx, pats=(), opts={}, globbed=False,
|
||||
default='relpath', badfn=None):
|
||||
"""Matcher that merges root directory with .hglf, suitable for log.
|
||||
It is still possible to match .hglf directly.
|
||||
|
Loading…
Reference in New Issue
Block a user