monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: [Monotone-users] Missing root conflicts


From: Thomas Keller
Subject: [Monotone-devel] Re: [Monotone-users] Missing root conflicts
Date: Sat, 22 Jan 2011 12:01:50 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.2.13) Gecko/20101129 Lightning/1.0b3pre Thunderbird/3.1.7

Am 22.01.11 07:12, schrieb Aaron W. Hsu:
> Hello,
> 
> How can I fix a missing root conflict? Specifically, it appears that I
> have two histories for a single branch:
> 
> A1       A2
>  |        |
>  o        o
>  |       / \
>  o      o   o
>          \ /
>           o
> 
> I wish to merge these two, but I get the following error:
> 
> mtn: 2 heads on branch '---'
> mtn: merge 1 / 1:
> mtn: calculating best pair of heads to merge next
> mtn: [left]  443bbee8302f4f2b9415755ad70d65421293f8c1
> mtn: [right] ce3f4f6e5ef8a261df438a6a5f5c01c4f185e5a8
> mtn: conflict: missing root directory
> mtn: conflict: duplicate name '' for the directory ''
> mtn: added as a new directory on the left
> mtn: added as a new directory on the right
> mtn: misuse: merge failed due to unresolved conflicts
> 
> I think this is because two root directories have been added. However, I
> cannot figure out how to use pivot_root to fix this. Does anyone have a
> suggestion?

I'd try it with merge_into_dir - but if that does not work I think the
best solution is to get rid of the other tree in your branch. So either
suspend the head(s) when you already synced them somewhere or remove the
wrong branch cert from the other tree and eventually merge in the wanted
changes by hand.

Thomas.

-- 
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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