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

Re: SVN copy issue

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-26 19:17:05 CEST

On Mar 26, 2006, at 18:29, David Corbin wrote:

>>> svn copy svn://piano/repo/trunk svn://piano/repo/tags/v1.2
>>>
>>> will create a 'trunk' folder inside svn://piano/repo/tags/v1.2
>>>
>>> That isn't what I want. I want all of the trunk contents to be
>>> underneath
>>> v1.2.
>>>
>>> Am I wrong? How can I do this?
>>
>> If "tags/v1.2" already exists, a directory "trunk" will be created
>> inside it.
>>
>> If "tags/v1.2" does not yet exist, it will be created with the
>> contents of "trunk".
>>
>> This behavior matches the Unix "cp" command.
>
> Ah. Well, that makes sense. Anyway to override it? Specifcially,
> I've got a
> case where after I 'tagged' something but before the release
> happened, I had
> another change. I'd like to just "re-copy" things.

It's probably simplest to "svn rm svn://piano/repo/tags/v1.2" first and
then "svn copy svn://piano/repo/trunk svn://piano/repo/tags/v1.2" again.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 26 19:17:56 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.