why 'merging'?

Neal Becker ndbecker2 at gmail.com
Wed Sep 2 18:38:26 CDT 2009


Mads Kiilerich wrote:

> On 09/02/2009 03:27 PM, Neal Becker wrote:
>>   hg pull ssh://nbecker6/xxx
>> pulling from ssh://nbecker6/xxx
>> searching for changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 1 changesets with 1 changes to 1 files
>> (run 'hg update' to get a working copy)
>>
>> hg update
>> merging test/test_ldpc_pipelined.py
>> 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
>>
>> The use of the word 'merge' confused me.  After the so-called merge, I
>> find that the remote file and the local file are binary-equal.
>>    
> 
> That is probably because you locally had an uncommitted change exactly
> like what had been committed to the remote repo. The merge process
> concluded that the same change had been made both places, and the result
> was ... what it was.
> 
> /Mads

I thought hg would refuse to update at all with uncommitted local changes?



More information about the Mercurial mailing list