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

Re: svn copy (server-side) into existing folder

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Wed, 8 Jun 2011 05:16:42 -0500

On Jun 8, 2011, at 04:50, Schroeder, Hartmut wrote:

> I am using svn 1.6.16 on MS Windows.
>
> D:\svn copy http://server/svnrepo/trunk/base/install http://server/svnrepo/tags/test_1.0.0 -m test

This creates tags/test_1.0.0 as a copy of trunk/base/install

> D:\svn copy http://server/svnrepo/trunk/base/install http://server/svnrepo/tags/test_1.0.0 -m test

This copies trunk/base/install into tags/test_1.0.0

> D:\svn copy http://server/svnrepo/trunk/base/install http://server/svnrepo/tags/test_1.0.0 -m test
> svn: Path 'test_1.0.0/install' already exists

This tries to copy trunk/base/install into tags/test_1.0.0 again but can't because it's already there.

This behavior is consistent with the unix cp command and should therefore not be unexpected.

> I would expect that the second try gives
> svn: Path 'test_1.0.0' already exists
> (as in svn 1.5.5)

Really? 1.5 behaved differently? That's strange.
Received on 2011-06-08 12:17:20 CEST

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