Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 42981:b4093d1d3b18
update: clarify calculateupdate() call sites by specifying argument names
merge.calculateupdate() takes a lot of parameters and I get confused
all the time which is which.
See also b14fdf1fb615 (update: clarify update() call sites by
specifying argument names, 2017-02-09).
Differential Revision: https://phab.mercurial-scm.org/D6883
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 25 Sep 2019 14:35:08 -0700 |
parents | adac17faa72e |
children | bbf77341a956 |
line wrap: on
line diff
--- a/contrib/perf.py Wed Sep 25 17:57:16 2019 -0400 +++ b/contrib/perf.py Wed Sep 25 14:35:08 2019 -0700 @@ -1030,8 +1030,9 @@ def d(): # acceptremote is True because we don't want prompts in the middle of # our benchmark - merge.calculateupdates(repo, wctx, rctx, [ancestor], False, False, - acceptremote=True, followcopies=True) + merge.calculateupdates(repo, wctx, rctx, [ancestor], branchmerge=False, + force=False, acceptremote=True, + followcopies=True) timer(d) fm.end()