branch | stable |
changeset 17984 | b74361cf7c0a |
parent 17981 | e689b0d91546 |
child 17986 | e853d27956fb |
child 18122 | 730b769fb634 |
--- a/mercurial/commands.py Wed Nov 28 11:20:56 2012 +0100 +++ b/mercurial/commands.py Tue Nov 27 08:47:35 2012 -0500 @@ -924,6 +924,7 @@ ' exists'), # i18n: "it" refers to an existing branch hint=_("use 'hg update' to switch to it")) + scmutil.checknewlabel(None, label, 'branch') repo.dirstate.setbranch(label) ui.status(_('marked working directory as branch %s\n') % label) ui.status(_('(branches are permanent and global, '