mercurial/commands.py
changeset 44440 d543ef183eb8
parent 44439 5a5aee8ba980
parent 44401 92b7caf4cb9e
child 44452 9d2b2df2c2ba
--- 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()]: