Symmetric merge -- current test failures when enabled
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 9 May 2012 17:54:39 +0100 (BST)
In r1336079 I updated the symmetric merge base-finding code to properly follow branches that have been renamed (which includes being branched off another branch) during their lifetime.
Currently there are 12 test failures, of just three kinds, in the existing test suite, when I make the symmetric merge code run for all sync and reintegrate merges using the patch below [1]:
FAIL: blame_tests.py 11: don't look for merged files out of range
FAIL: merge_tests.py 6: merging a file w/no explicit target path or revs
FAIL: merge_tests.py 78: dont merge revs into a subtree that predate it
The first group is trivial: the merge works properly and so doesn't produce the expected conflict. The second group concerns merging changes into a file from its own (past or future) history; this kind of merge isn't a 'sync' so shouldn't be handled by this code path. That leaves subtree merges as the only missing functionality that the test suite currently picks up.
In symmetric_merge_tests.py there are currently two XFAIL tests ...
XFAIL: merge_symmetric_tests.py 16: cherry2_fwd
... because I haven't paid attention to skipping of cherry-picked revisions yet. We need to write some more extensive tests there, such as ones covering subtree merges and ones covering branches that have been renamed in their lifetime.
[1] Patch to use the symmetric merge code for all sync and reintegrate merges:
#ifdef SVN_WITH_SYMMETRIC_MERGE
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.