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

Re: SVN Tagging

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-09-07 02:23:17 CEST

S I wrote:
> Hi
>
> During my daily/nightly builds, I do an update to get the latest, modify 5
> of my build files, do the build, commit the files and would like to tag svn.
> However, reading the tagging section in chapter 3 of the manual, I see
> that unlike CVS, SVN tags the latest (HEAD) or a specified revision, and not
> respository files based on your working copy like cvs does... or does it?
>
> I would like to tag the repository based on my working copy EXACTLY. My
> current Ant script is basically atomic, once it starts and goes through the
> steps as mentioned above (checkout, modify, commit, tag) how can it stop or
> be aware of, or know a/the specified revision number ahead of time? I
> really don't wanna resort to writing scripts or parsing. I would like to
> stay true to Ant w/o downloading or installing Cygwin, perl, etc. There
> must be a feature in "svn copy" to allow me to tag the repo based on my
> working copy JUST LIKE CVS.

'svn help' is your friend.

Type 'svn help copy' at the command line to see that you can easily
create a tag from your working copy. Just use the working copy path as
the SRC argument. And you can create a tag from any numbered revision,
not just HEAD.

-- 
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 7 02:26:06 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.