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

Re: Safely creating a tag/branch?

From: A.T.Hofkamp <a.t.hofkamp_at_tue.nl>
Date: 2005-08-16 17:42:17 CEST

Dale Worley wrote:

> 1. Do "svn ls https://.../tags" to determine the next available tag number.
> 2. Do "svn copy https://.../trunk https://.../tags/tag-N" to create the tag
> at rev R. If it fails, you are the third (or later) person to attempt to
> create tag-N, and should return to step 1.
> 3. Examine "svn log -r R https://.../tags" to see if what was created was
> tags/tag-N or tags/tag-N/trunk. If the former, exit with success. If the
> latter:
> 4. Do "svn delete https://.../tags/tag-N/trunk" to get rid of the mistake,
> and return to step 1.
> Or something like that.

And what if in between 2 and 4 the other person checks out a working copy of


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 16 17:44:08 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.