Have a command "branch". Usage:
monotone branch foo.bar: switch working copy to be foo.bar (simply modifies MT/options).
monotone branch -r REV foo.bar: mark rev REV as being in branch foo.bar (simply issues a branch cert)
monotone commit no longer accept a -b switch.
In all cases give the user feedback on whether they have created a new branch or not.
"propagate " could note/warn that a new "newbranch" will be created, and behave the same as "cert h:somebranch branch newbranch".
Some user experience:
Perhaps we should provide a
switch command, which is similar to
- requires a branch argument
- if that branch exists, does
update -b BRANCH -r h:
- if not, switches the working copy to be on BRANCH
your idea here