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

Re: Why does "svn copy -r 28 http://rep/p/Test http://rep/p/Test" produce a copy as Test/Test ? - but not if Test does not exist or is deleted from HEAD before?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-28 19:14:15 CET

Brian Denny wrote:

> in my experience (which i just confirmed using bash, sh, and csh),
> the above sequence of commands always moves Foo -into- Bar.
> just like svn's copy command.

That's correct.

'svn cp A B/C' tests to see if C exists in B already. If it doesn't,
then it creates C. If it does exist already, it creates B/C/A.

And 'svn mv' follows the same rules, because it's the same as "svn cp;
svn rm".

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 28 19:14:35 2004

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.