monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Removing a revision from a branch


From: Timothy Brownawell
Subject: Re: [Monotone-devel] Removing a revision from a branch
Date: Thu, 08 Jun 2006 12:08:30 -0500

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).

Tim






reply via email to

[Prev in Thread] Current Thread [Next in Thread]