[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: Andreas Krey <a.krey_at_gmx.de>
Date: Wed, 8 Jun 2011 13:01:03 +0200

On Wed, 08 Jun 2011 05:16:42 +0000, Ryan Schmidt wrote:
...
> This behavior is consistent with the unix cp command and should therefore not be unexpected.

It is not unexpected, but stupid. As 'svn cp' is also the tool to
create tags, it is rather strange that you can just do

  svn cp ${base}/trunk ${base}/tags/1.0.0

(that is, create a tag) twice in a row with any warning whatsoever,
and ending up with an extra 'trunk' dir in the tag.

Has bitten us more than once.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Received on 2011-06-08 13:01:38 CEST

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