diff -r 5a5aee8ba980 -r d543ef183eb8 mercurial/commands.py --- a/mercurial/commands.py Wed Mar 04 14:21:23 2020 -0500 +++ b/mercurial/commands.py Thu Mar 05 10:52:51 2020 -0500 @@ -1340,7 +1340,7 @@ scmutil.checknewlabel(repo, label, b'branch') if revs: - return cmdutil.changebranch(ui, repo, revs, label) + return cmdutil.changebranch(ui, repo, revs, label, opts) if not opts.get(b'force') and label in repo.branchmap(): if label not in [p.branch() for p in repo[None].parents()]: