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

svn copy - tags - avoid copying parent dir

From: allan juul <lambretta_at_inet.uni2.dk>
Date: 2004-12-30 22:59:43 CET

hi

is it possible [in a simple command] to avoid copying the actual parent
directory when using svn copy on URLs?

it seems IMHO that 'svn copy' does one thing when operating on working
copies and another on URL's.

please consider the following flow:

$ svn list -R URL/trunk/MAIN/project_1

file_1
file_2
dir_1/
dir_1/file_1

$ svn copy \
   URL/trunk/MAIN/project_1 \
   URL/tags/MAIN/project_1/RC-1 \
   -m "Tagging a sub project"

$ svn list -R URL/tags/MAIN/project_1/RC-1

project_1/
project_1/file_1
project_1/file_2
project_1/dir_1/
project_1/dir_1/file_1
^^^^^^^^^

Basically i wanted that last 'svn list' command to show exactly the same
as the first 'svn list'

thanks
./allan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 30 23:03:02 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.