[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: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-17 23:24:14 CEST

On May 17, 2006, at 23:10, Duncan Murdoch wrote:

> 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

As the OP mentioned, I don't think that handles file additions,
deletions, property changes, etc. It only handles changes in existing
files.

---------------------------------------------------------------------
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:25:34 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.