You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Corbin <dc...@machturtle.com> on 2006/03/26 15:42:25 UTC

SVN copy issue

I could have confused myself, but it looks to me like this command:

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?

David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN copy issue

Posted by Ryan Schmidt <su...@ryandesign.com>.
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

Re: SVN copy issue

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 26, 2006, at 17:42, David Corbin wrote:

> I could have confused myself, but it looks to me like this command:
>
> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org