By the way, my intent is to remove the '--symmetric' option and have the code just run inside the original 'sync' and 'reintegrate' code paths. There's no reason, other than for testing, to expose this at the UI.
----- Original Message -----
> From: Julian Foad <julianfoad_at_btopenworld.com>
> To: SubversionDevelopment <dev_at_subversion.apache.org>
> Sent: Thursday, 22 March 2012, 9:36
> Subject: Symmetric Merge
> If anyone wants to try the new symmetric merge code, it's basically in
> place. It's not finished. It's enabled with '--symmetric'
> command-line option. I've just tried running it in place of
> 'reintegrate, using the following patch to the test suite, and this much
> seems to work...
> Index: subversion/tests/cmdline/svntest/actions.py
> --- subversion/tests/cmdline/svntest/actions.py (revision 1303481)
> +++ subversion/tests/cmdline/svntest/actions.py (working copy)
> @@ -1029,6 +1029,9 @@ def run_and_verify_merge(dir, rev1, rev2
> the working copy, but still verify the entire working copy dir.
> merge_command = [ "merge" ]
> + if '--reintegrate' in args:
> + args += ('--symmetric',)
> if url2:
> merge_command.extend((url1 + "@" + str(rev1), url2 +
> "@" + str(rev2)))
> Now I'll try using it in place of 'sync' merges. But the more
> interesting thing is it should be able to do repeated 'reintegrate'
> merges, and indeed arbitrary sequences of to-and-fro merges between a pair of
> branches, without any 'keep-alive dance'.
> Please tell me what you think or what you find!
> - Julian
Received on 2012-03-22 11:05:52 CET