Resolving conflicts with Bazaar Explorer

Gordon Tyler gordon at doxxx.net
Wed Nov 25 13:59:14 GMT 2009


I've used kdiff3 with bzr external-merge which can give kdiff3 the 3  
merge files as well as the original filename to save the merge result  
to. I'll dig up the necessary command line.



On 2009-11-25, at 12:43 AM, David Muir <davidkmuir at gmail.com> wrote:

> Ian Clatworthy wrote:
>>
>> David Muir wrote:
>>
>>> So I did what any gui oriented guy would do and fired up
>>> Bazaar Explorer.
>>> I have it set up to use meld, so meld dutifully opens up the BASE,  
>>> THIS
>>> and OTHER files in a 3 way diff. But now what?  The docs aren't very
>>> clear about this.
>>>
>>
>> Here's my workflow for resolving conflicts using Bazaar Explorer.
>>
>> 0. The status view shows the files in conflict, as well as noise  
>> telling
>> you .THIS, .BASE and .OTHER files have been created. Each file in
>> conflict shows as a link.
>>
>> 1. I click on each conflict in turn, search for '<<<' and resolve the
>> conflict by hand. Once all the conflicts are addressed in a file, I  
>> save
>> it and open the next one.
>>
>> 2. When I've addressed all the conflicts, I hit the little  
>> 'Conflicts'
>> icon next to the Conflicts: title. That opens qconflicts.
>>
>> 3. I hit "Auto-resolve", it tells me all conflicts are gone and I  
>> close
>> qconflicts. The status view automatically refreshes.
>>
>> In other words, I don't get much value out of qconflicts or an  
>> external
>> merge tool. OTOH, it's damn fast and I'm comfortable just using my  
>> text
>> editor.
>>
>> Hope this helps,
>> Ian C.
>>
> Thanks! I guess I was thinking maybe there was a way to pick which  
> file to resolve with.
> ie. bzr resolve foo --using foo.OTHER
> or something to that effect.
> So that way I could do the merging in meld, then resolve using the  
> file I put the corrections into. IIRC, that's how svn's conflict  
> resolution works.
>
> In the end, I found out that there wasn't actually a merge conflict,  
> but rather, I wasn't including the correct revno range... oops.
>
> Well, at least I now know how to take care of myself :-)
>
> Cheers,
> David



More information about the bazaar mailing list