diff mercurial/commands.py @ 44440:d543ef183eb8

merge with stable
author Augie Fackler <augie@google.com>
date Thu, 05 Mar 2020 10:52:51 -0500
parents 5a5aee8ba980 92b7caf4cb9e
children 9d2b2df2c2ba
line wrap: on
line diff
--- 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()]: