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

Add a tag in subversion

From: ying lcs <yinglcs_at_gmail.com>
Date: 2007-04-13 05:12:07 CEST

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:12:29 2007

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.