Merge does not list file as conflict although file has been changed

Becker, Mischa J mischa.becker at fredmeyer.com
Thu Jul 11 19:59:36 UTC 2013


> -----Original Message-----
> From: mercurial-bounces at selenic.com [mailto:mercurial-
> bounces at selenic.com] On Behalf Of Matthias Tietz
> Sent: Thursday, July 11, 2013 1:36 AM
> To: 'Kastner Masilko, Friedrich'
> Cc: mercurial at selenic.com
> Subject: AW: Merge does not list file as conflict although file
> has been changed
>
> Hello Fritz,
>
> Thank you for clarification. I (hopefully) understand everything.
> In my case the file has only be changed one time within a branch
> called 6.6. We have several named branches representing releases
> for customers which will be closed after release and relevant
> changes will be returned to 6.6. So when I understand you correct,
> I have to find out, if the change was not taken during a merge.
>
> What I know so far is:
> - the file has only be changed 1 time within a branch called 6.6.
> - The relevant change was at revision 223.
> - Revision 223 has 5 children
> - 1 of the children is a merge changeset 232
> - Revision 232 itself is the parent of the two heads (281, 474) I
> would like to merge
> - One head (281) contains the changes of revision 223 the other
> one has the "old" content
> - Between revision 232 and 474 all hell breaks loose. That means
> there is a kneel of named branches merged into another back and
> force and also back into branch 6.6 --> So there must be the
> mysterious (form my point of view ;-) ) thing?
>
> Maybe I am not that brainiac to find it out but I hope getting a
> logical explanation because I have to smooth captious critics.
>
> Kind regards
>
> Matthias

If I understand you correctly, below is a basic graph of what your repository looks like.

223      change
 |
232      merge
 | \
281 \    still has changes
 |   \
 |   ... big mess
 |    |
 |   474 doesn't have change
 |  /
 | /
 +       New merge is missing change

It looks like something happened in the middle of the big mess to revert the change made in revision 232. Since the reversion came *after* the original change, merging 281 with 474 results in the reverted file.

Your original email has a File History screen print that shows merge revision 224 was the last change made to the file.  What happened in that merge? Was the change you are looking for removed?  And if it was, is 224 an ancestor of 474?

Mischa

________________________________

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.



More information about the Mercurial mailing list