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

svncopy adds extra level of directory hierarchy

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2005-12-28 22:28:28 CET

Dear All,

Using this command:

        svncopy -t http://svn.example.com/myproject/trunk \
        http://svn.example.com/myproject/tags/1.1.8

I had hoped to find that tags/1.1.8 would contain a copy of the project,
but instead it contains a directory called "trunk", which in turn
contains a copy of the project.

I had expected to get the usual behaviour of the cp command, i.e.

- If the destination directory exists, a new directory is created inside
it with the name of the leaf of the source directory.

- If the destination directory does not exist, it is created and the
contents of the source directory are copied into it.

Is this a bug or a feature? (I don't know if this is unique to svncopy
or whether "svn cp" has the same behaviour.) Can anyone suggest a
workaround?

Cheers,

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 28 22:31:18 2005

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.