your command should work just fine as long as the trunk doesnt have
self-referencing svn:external's
from that doc:
This script performs an svn copy command. It allows extra processing to get
around the following limitations of svn copy:
svn:externals definitions are (in Subversion 1.0 and 1.1 at least) absolute
paths. This means that an svn copy used as a branch or tag operation on a
tree with embedded svn:externals will not do what is expected. The
svn:externals will still point at the original location and will not be
pinned down.
On 4/12/07, ying lcs <yinglcs@gmail.com> wrote:
>
> Hi,
>
> I am using the following command to tag my subversion Trunk to a tag name:
>
> svn cp file:///srv/svn/repositories/source/trunk \
> file:///srv/svn/repositories/source/tags/VERSION1 \
> -m "Creating VERSION1 tag"
>
> But from here
> http://svn.collab.net/repos/svn/trunk/contrib/client-side/svncopy/svncopy.README
>
> It said the following command as what *NOT* to do:
>
> Example 1 - using svn copy to tag (what not to do)
> --------------------------------------------------
>
> This is the naive way of creating a tag.
>
> $ svn copy http://svn/repos/trunk/proj_bar \
> http://svn/repos/tags/proj_bar/release_3.2
>
>
> So should I not do this anymore and use the svncopy.pl script instead?
> Or my command is okay?
>
> svn cp file:///srv/svn/repositories/source/trunk \
> file:///srv/svn/repositories/source/tags/VERSION1 \
> -m "Creating VERSION1 tag"
>
> Thank you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Received on Fri Apr 13 05:33:01 2007