Re: Please review Symmetric Merge
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 3 Oct 2012 20:26:09 +0100 (BST)
C. Michael Pilato wrote:
> On 09/13/2012 06:55 PM, Julian Foad wrote:
Hi Mike. Thanks for asking.
First, yes all the relevant code is in merge.c, mostly at and near the end, apart from the high-level caller in subversion/trunk/merge-cmd.c.
A code read is certainly one useful approach. Others are:
Reviewing the UI and the help text ('svn help merge') to see if it is understandable, addresses the real needs and doesn't break other kinds of merge scenarios that I might have overlooked (such as merge ignoring mergeinfo, merge from foreign-repo, cherry-picks, etc.).
Pointing out that The Book will need an update.
Looking for inconsistencies with other commands, inconsistencies in terminology, references to the --reintegrate option that should now be gone.
(I think we should call this the 'automatic' merge, NOT 'symmetric', in user-facing contexts. So I wonder if we should rename all the internals too?)
Reminding me of the rough edges marked with "###" in the code, and saying if they look like they need to be fixed before release and/or filed as issues.
I would recommend not looking at a diff, because I updated a lot of merge code along the way in order to make it easier to interface with but not significantly changed or specifically related to symmetric merge.
Instead, read hierarchically down the call graph from the top-level function svn_cl__merge(). It should be mostly pretty straightforward to see where the code is new and where it starts to call existing functions.
Thanks, and don't hesitate to ask further or to be picky.
- 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.