[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: resolve conflict dialog is confusing

From: Dave Huang <khym_at_azeotrope.org>
Date: Thu, 20 Oct 2011 17:56:26 -0500

On Oct 20, 2011, at 5:36 PM, Bob Archer wrote:
> Yes and no. It depends on the merge you preform. If you do merge a range... the repository path associated to the current working copy is used as the SOURE2 of the merge. If you use the command line and do:
>
> svn merge ^/MyProject/branches/MyFeature
>
> There are two things implied.
>
> 1. The target to which the merge diff is applied... which is the pwd, your working copy
> 2. The source2 of the merge... this is inferred as the svn path or URL that the checkout points to.

I suppose you're *technically* correct that the repo associated with the WC is used in that case, but that's only due to the "^" shortcut, which doesn't work in TSVN (I tried it, and it said "Error: 'C:\Users\Dave\AppData\Local\Temp' is not a working copy; I assume TSVN's current directory was set to the temp dir, rather than my WC dir). However, both source1 and source2 of the merge are derived from that path, not just source2. SVN merges always need two sources--what you said later about a merge basically applying the diff between Source1 and Source2 to the WC applies to the "svn merge ^/MyProject/branches/MyFeature" case too, not only the two-tree merge case. Source1 is basically rev 1 of ^/MyProject/branches/MyFeature and source2 is HEAD of ^/MyProject/branches/MyFeature.

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym_at_azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 35 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2859741
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-10-21 00:56:42 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.