comparison README @ 15337:cf5f9df6406b stable

windows: recompute flags when committing a merge (issue1802) Before this patch, Windows always did the wrong thing with exec bits when committing a merge: consult the flags in first parent. Now we manually recompute the result of merging flags at commit time, which almost always does the right thing (except when there are conflicts between symlink and exec flags). To do this, we: - pull flag synthesis out into its own function - delay building this function unless it's needed - add a merge case that compares flags in local and other against the ancestor This has been tested in multiple ways on Linux: - running the whole test suite with both old and new code in place, checking for differences in each flags() result - running the whole test suite while comparing real on-disk flags against synthetic ones for merges - test-issue1802 (from Martin Geisler) which disables exec bit checking on Unix
author Matt Mackall <mpm@selenic.com>
date Sat, 22 Oct 2011 16:12:33 -0500
parents a9f91c844a3b
children df5ecb813426
comparison
equal deleted inserted replaced
15336:83debcd7064b 15337:cf5f9df6406b