monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] move from one branch to another


From: Drakie Awita
Subject: [Monotone-devel] move from one branch to another
Date: Mon, 16 Jan 2006 12:20:47 -0800

If I have 3 revisions of A, B, and W in a single branch of
"prj.release", with history graph of: A->B, A->W
Then monotone reports that there're two heads, B and W, in the branch
of "prj.release".

Let's say revision W is mistakenly checked into the branch of
"prj.release" and should have had checked into its own branch of
"prj.working".  In order to avoid the merge between B and W, how can I
rename the branch name of revision W from "prj.release" to
"prj.working"?

I've tried "monotone cert <rev-W> branch prj.working"; but it appends
the branch names, instead of replacing it  ("monotone log" shows two
"Branch:" names), and "monotone heads -b prj.release" still shows two
heads of both rev-B and rev-W.

Is there anyway to undo the mistake of checking into a wrong branch?
Or at least have the "prj.release" branch back to single head (with
the content of rev-B) without unnecessary merge of rev-B and rev-W?

Thanks,

--- Drakie




reply via email to

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