monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: [best practices] How to merge a large code dump wit


From: Koen Kooi
Subject: [Monotone-devel] Re: [best practices] How to merge a large code dump with no history?
Date: Sat, 24 May 2008 23:38:38 +0200
User-agent: Thunderbird 3.0a2pre (Macintosh/2008051303)

Jack Lloyd wrote:
I just received a pretty large code dump for Botan that adds a number
interesting things. However all the changes are mixed together (about
10 distinct changes). And one change, that converts all bare pointers
to either shared_ptr or auto_ptr, changes nearly every file.

I have currently just moved a version into mtn based against the same
version of Botan they used and reverted changes that definitely
wouldn't go into mainline (deleting algorithms, mostly). This seems
like it would be the easiest way to handle further code dumps in the
future as well (I can just unzip into a workspace).

But if I check this in as a new branch, how do I get singular changes
out again? What is the best way to deal with a situation like this
with mtn? `pluck`? A merge tool trick? 'Don't do that then'?

Have the botan checkout in one dir, the 'patched' version in another dir and run 'meld <dir1> <dir2>' and move changes over piece-wise.

That's the fastest method I know off.

regards,

Koen





reply via email to

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