diff mercurial/extensions.py @ 23420:902554884335 stable 3.2.2

merge: before cd/dc prompt, check that changed side really changed Before, merging would in some cases ask "wrong" questions about "changed/deleted" conflicts ... and even do it before the resolve phase where they can be postponed, re"resolved" or answered in bulk operations. Instead, check that the content of the changed file really did change. Reading and comparing file content is expensive and should be avoided before the resolve phase. Prompting the user is however even more expensive. Checking the content here is thus better. The 'f in ancestors[0]' should not be necessary but is included to be extra safe.
author Mads Kiilerich <madski@unity3d.com>
date Mon, 01 Dec 2014 02:30:21 +0100
parents ecdbbb6e5d06
children af73c05e735a
line wrap: on
line diff