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

Re: cvs merge from uncommited working copy

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-05-17 23:10:24 CEST

On 5/17/2006 9:26 AM, Ryan Schmidt wrote:
> On May 17, 2006, at 12:49, Max Kirillov wrote:
>
>> I want to register changes in multiple branches by a single
>> commit. I develop the desired changes in one branch, then
>> copy to others, then go the root directory and launch 'svn ci'.
>>
>> I can copy the changes using 'svn diff | patch'. But, if
>> there are added/removed/copied files, I have to declare them
>> manually.
>>
>> It would be nice to use 'svn merge' to automatically
>> transfer all changes. Unfortunately, I could not find a way
>> to do that.
>>
>> So, the question is:
>>
>> Is there any possibility to transfer uncommited changes from
>> one working copy to another? Maybe, there is some additional
>> tool doing this?
>
> I don't think so. The merge strategy is that you're merging a
> changeset -- a revision, or set of revisions -- meaning that revision
> must exist in the repository (must already be committed) to be able
> to merge it.

Can't you do this using something like

cd WC1
svn diff >patches
cd WC2
patch --some mumbo-jumbo-- <WC1/patches

Duncan Murdoch

>
>
> If you insist on doing it your way, you could probably make a
> complete filesystem copy of your working copy of the one branch, "svn
> switch" it to the second branch, use this to replace the directory
> where you originally had the second branch in your big working copy,
> and commit the whole thing in one revision. But that seems a bit
> complicated.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 17 23:11:40 2006

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

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