diff -r 4f37af86d5d5 -r b14fdf1fb615 mercurial/hg.py --- a/mercurial/hg.py Thu Oct 18 10:11:08 2018 -0700 +++ b/mercurial/hg.py Thu Feb 09 09:17:40 2017 -0800 @@ -846,7 +846,7 @@ When overwrite is set, changes are clobbered, merged else returns stats (see pydoc mercurial.merge.applyupdates)""" - return mergemod.update(repo, node, False, overwrite, + return mergemod.update(repo, node, branchmerge=False, force=overwrite, labels=['working copy', 'destination'], updatecheck=updatecheck) @@ -949,8 +949,8 @@ """Branch merge with node, resolving changes. Return true if any unresolved conflicts.""" if not abort: - stats = mergemod.update(repo, node, True, force, mergeforce=mergeforce, - labels=labels) + stats = mergemod.update(repo, node, branchmerge=True, force=force, + mergeforce=mergeforce, labels=labels) else: ms = mergemod.mergestate.read(repo) if ms.active():