monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Revision with two branch certs


From: Justin Patrin
Subject: Re: [Monotone-devel] Revision with two branch certs
Date: Wed, 23 May 2007 00:55:23 -0700

On 5/23/07, Boris <address@hidden> wrote:
A co-worker checked in new revisions which for some reason contain two
branch certs (and thus belong to two branches). I've never seen this nor
do I have any idea how he did this (I don't need to ask him as he doesn't
know either ;). What I can tell so far is that he worked on some code in
another branch and propagated his latest revision to the main branch -
something I've done often myself without the "merged revision" ending up
in two branches. I don't know what other commands he entered inbetween.
I'm actually more interested in getting rid of one of the two branch
certificates as it doesn't make much sense now to have two branches if all
revisions end up in both of them automatically. Any ideas?


This happens by design and makes perfect sense in some cases.
Consider, for example that you propagate from branch "trunk" to branch
"b1", make some changes (commit revisions) in branch b1, then
propagate from branch "b1" to "trunk". If you have done no commits to
"trunk" and have pulled no revisions in "trunk" then the propagate
simply adds a "trunk" branch cert to the head rev of "b1" since there
is no merge needed.

--
Justin Patrin




reply via email to

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