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

Re: Add a tag in subversion

From: Matt Sickler <crazyfordynamite_at_gmail.com>
Date: 2007-04-13 05:32:35 CEST

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

This is an archived mail posted to the Subversion Users mailing list.