# HG changeset patch # User Tony Tung # Date 1456211899 28800 # Node ID 19775bc34da34f28451c2b27a4e06433da058f74 # Parent e8d1460e2a7282d9433c26ace281b20b16ca6335 largefiles: don't explicitly list optional parameters that are not used This makes it easier for changes to the API. diff -r e8d1460e2a72 -r 19775bc34da3 hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Mon Feb 08 14:07:17 2016 +0100 +++ b/hgext/largefiles/overrides.py Mon Feb 22 23:18:19 2016 -0800 @@ -452,12 +452,10 @@ # writing the files into the working copy and lfcommands.updatelfiles # will update the largefiles. def overridecalculateupdates(origfn, repo, p1, p2, pas, branchmerge, force, - acceptremote, followcopies, matcher=None, - mergeforce=False): + acceptremote, *args, **kwargs): overwrite = force and not branchmerge actions, diverge, renamedelete = origfn( - repo, p1, p2, pas, branchmerge, force, acceptremote, - followcopies, matcher=matcher) + repo, p1, p2, pas, branchmerge, force, acceptremote, *args, **kwargs) if overwrite: return actions, diverge, renamedelete