On Thu, 2006-06-08 at 10:23 -0600, Shaun Jackman wrote:
> I don't know how it happened, but apparently I accidentally added a
> revision to a branch to which it does not belong. How do I remove the
> revision from the branch? Is there a command to remove a specified
> cert?
No, you have to use 'db execute'.
Make a copy of your db, then run
mtn db execute "delete from revision_certs where id = '<revid>'
and name = 'branch'"
(remove all branch certs from that revision), then
mtn approve <revid> -b branch-you-want
(put back the one you want).