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

Re: Promting files from trunk to a specific tag

From: David Weintraub <qazwart_at_gmail.com>
Date: Sun, 11 Jul 2010 02:02:18 -0500

Normally, you don't want to change a tag. A tag should be a snapshot
to a particular version of your repository. However, some people have
a tag liked BLESSED or APPROVED to mark their code. I'm not a fan of
that, but if you do, there is no reason why you cannot just copy the
files you want to "tag" to the tag directory you want to mark them in.

At least in Subversion, unlike CVS, you retain a history how the tag
was changed.

Remember in Subversion, a tag is just another directory. You normally
copy a tree structure to it, but there is nothing preventing you from
copying a mix of files, or modifying what is in the tag by copying new
versions of individual files into the tag.

In fact, it's one of the problems since it is way too easy to change
it without meaning to. I have a pre-commit hook that prevents this
from happening.

On Fri, Jul 9, 2010 at 11:04 AM, Eramo, Mark <meramo_at_hbs.edu> wrote:
> I have a question.
>
>
>
> In CVS, if I made changes to some files in the trunk, I could promote those
> into a specific tag. Is it possible to do the same in SVN?
>
>
>
> I have a few files in the trunk that I want to promote to an existing tag
> without creating a new tag. Just curious if this is possible and how it is
> done.
>
>
>
> Regards,
>
> Mark
>
>

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-07-11 09:03:59 CEST

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.