diff -r bb58931d0c4f -r 92b7caf4cb9e mercurial/commands.py --- a/mercurial/commands.py Mon Feb 24 00:20:47 2020 -0500 +++ b/mercurial/commands.py Sun Mar 01 19:39:23 2020 +0100 @@ -1338,7 +1338,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()]: