On Tue, Feb 24, 2009 at 8:23 PM, Reid Priedhorsky <reid_at_umn.edu> wrote:
> On 02/24/2009 06:25 PM, Mike Dixon wrote:
>> From the book
>> "By specifying the --reintegrate option, you're asking Subversion to
>> carefully replicate only those changes unique to your branch. (And in
>> fact, it does this by comparing the latest trunk tree with the latest
>> branch tree: the resulting difference is exactly your branch changes!)"
> Hmm, OK. So, svn merge --reintegrate will not work correctly when the
> trunk has never been merged to the branch, or when the latest version of
> the trunk merged to the branch is not the current version of the trunk.
> Shouldn't svnmerge --reintegrate detect these conditions and error out,
> rather than silently doing (potentially) the wrong thing?
Neither of those are true. If you have never done a merge it would
use the revision of trunk you made the branch from, else it does the
last revision from trunk you have merged. It does not have to be
HEAD, However, if it is not HEAD, then it is still possible to get
conflicts you will need to resolve. If it is HEAD, the merge would
typically not have conflicts.
> Or am I still missing something? Why would I want to apply the diff
> between current trunk and current branch to the branch unless the branch
> is fully up to date with respece to the trunk?
You wouldn't, and it doesn't. I cannot explain the problem you have.
Produce a reproduction script if you can and submit it.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-25 02:39:18 CET