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

Re: Create a copy in WC before merging

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Thu, 17 Dec 2009 09:28:44 +0000

2009/12/16 Ryan J Ollos <ryano_at_physiosonics.com>:
> Simon Large-5 wrote:
>>
>> There is no way to do this using subversion or TortoiseSVN. In order
>> to make this work you would have to know in advance which files will
>> be updated, so TortoiseSVN would first have to query the repository
>> (effectively Check for Modification looking at both local and remote
>> changes) before starting the update. I think that would be
>> unacceptably slow for most users.
>>
>
> If I understand correctly, it seems as though it would be necessary to
> create a copy of the working copy  in a temporary directory and run the
> Update against this temporary working copy.  Files from the original working
> copy could then be compared against the temporary working copy that has the
> update applied.
>
> Isn't what I just described similar to what is done during a Test Merge?  I
> have always assumed that in a test merge, a copy of the working copy is
> created in a temporary directory and the merge is done on those files.

No, test merge only checks that the items are where you think they are
in the repository and shows where there might be conflicts. Since
merge tracking arrived it has become almost impossible to discover
whether conflicts will actually occur without doing a real merge. In
theory it would be possible to create a copy of the working copy and
do a dummy run there, but since many people have GB working copies
this is not a quick option.

> One feature I have always hoped for is the ability to show changes after
> selecting a file from the Test Merge dialog window.  Particularly in the
> case of a conflicted file, sometimes it would be nice to see what parts of
> the file are conflicted before going ahead with the merge.  At present, it
> seems that I cannot select a file from the Test Merge dialog window and
> select Show Changes.  Would this be practical to implement?

No, for the same reasons as above.

> Getting back to the original question, it seems that one realization of the
> thread author's request would be the ability to run a `Test Update`,
> analogous to a `Test Merge`, and from the dialog window show changes between
> the working copy and the Test Update.

Isn't that what the Check for Modifications dialog does? And diff with URL?

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2431086
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-17 10:28:55 CET

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.