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

svncopy.pl creates extra level of subdirectory?

From: Robert P. J. Day <rpjday_at_crashcourse.ca>
Date: Tue, 11 Nov 2008 10:30:46 -0500

   having figured out what i was doing wrong yesterday, i got
svncopy.pl to make a copy of my trunk using "--pin-externals",
but i got a nasty shock when i looked at the way the branch
was created.

   as is my pattern when creating a branch from the trunk, i
used:

   $ svncopy.pl --pin-externals .../trunk .../branches/mybranch

what i expected to get in the repository was:

   .../repo/branches/mybranch/<content>

what i got instead was:

   .../repo/branches/mybranch/trunk/<content>
                          ^^^^^ ?

why do i have that extra "trunk" directory level? that's
certainly not what i get when i do a regular "svn copy",
and it flies in the face of the help text from svncopy.pl,
which reads,

"This script copies one Subversion location or set of locations
to another, in the same way as svn copy."

   well, no, that's *not* what svn copy does. so, a simple
question -- is this the expected behaviour of svncopy.pl?
since if it is, i'll obviously have to svncopy each top-level
directory individually. or did i just do something stupid?

rday

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-11 16:31:12 CET

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.