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

RE: Re: Equivalent of "cvs rtag -F"

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: 2007-10-31 17:42:50 CET

> -----Original Message-----
> From: Matthieu Moy [mailto:Matthieu.Moy@imag.fr]
> Sent: Tuesday, October 30, 2007 4:38 PM
> To: Les Mikesell
> Cc: users@subversion.tigris.org
> Subject: Re: Equivalent of "cvs rtag -F"
>
>
> 3) When they tested a commit enough, they can move the tag. They can
> move the tag as many times as they want, the last tag is the one
> taken into account.
>
> Now, with SVN, I have a similar flow, but "moving a tag" is done in
> two steps, and I'm looking for something simpler.

Script the 'svn rm .../svn copy ...' to make it one step.

 
> I really don't see how the students could do 3) above without a merge.

A tag is just an extreme form of merging called a copy-merge (discard
everything in the destination branch and replace it with the source
branch.)

Or just create new tags in one step:
        svn copy $repos/some/project $repos/tags/project_name.`date
'+%y%m%d.%H%M%S'`
        svn copy $repos/some/project
$repos/tags/project_name.$revision_of_source

Or just have them update a (checked in) file containing the URL+path and
revision number. With those two bits of information, tags are
redundant.

Or put in an enhancement request to have one-step tagging (which does
the 'rm + copy' for you):
        svn [-r Rev] tag source_url[@rev] dest_url_tagname
and then make it a project for your advanced users to actually modify
the subversion code and contribute it. =)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 31 17:43:27 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.