mercurial/commands.py
branchstable
changeset 44401 92b7caf4cb9e
parent 44170 0ab651b5f77c
child 44440 d543ef183eb8
--- 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()]: