The difference between update and merge
Martin Geisler
mg at lazybytes.net
Wed Dec 7 22:29:33 UTC 2011
Matt Mackall <mpm at selenic.com> writes:
> On Wed, 2011-12-07 at 21:31 +0100, Martin Geisler wrote:
>> Matt Mackall <mpm at selenic.com> writes:
>>
>> > On Wed, 2011-12-07 at 12:46 +0100, Martin Geisler wrote:
>> >> Isaac Jurado <diptongo at gmail.com> writes:
>> >>
>> >>> Out of curiosity, where is the original diff stored?
>> >>
>> >> It's stored in a .hg/merge/<hash> file where <hash> is the SHA-1 has
>> >> of the file. It's also used by normal merges between committed
>> >> changes, though I cannot figure out right now why it's necessary in
>> >> that case.
>> >
>> > If you discover the automatic merge of a single file failed in your
>> > extensive post-merge testing, you can re-resolve it.
>>
>> Yes, but could Mercurial not just grab the file from one of the two
>> parent changesets in that case?
>
> Why special-case it? Remember, there's also merge -f.
Ah, I had forgotten about --force for merge! And yes, there was no
special reason to special-case it, I was just curious.
--
Martin Geisler
Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111207/bc006f40/attachment.asc>
More information about the Mercurial
mailing list