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

Using TAGS like in CVS

From: Jean-Yves Avenard <jean-yves.avenard_at_hydrix.com>
Date: 2005-04-14 11:40:41 CEST

Hello

One feature I've been missing since using Subversion for the past one
year is the ability to work with tags within the HEAD revision.

Let me explain.

In CVS, it would be possible to tag a subdirectory of a project while
working on HEAD.

Let say the project is located in:
/trunk/myproject

And it contains several subdirectories:
/trunk/myproject/dir1
/trunk/myproject/dir2
/trunk/myproject/dir3

Let say I applied a tag MY_TAG to the files in the dir3 sub-directory

Then people could check-out HEAD with specifying the tag.
CVS default behaviour is to checkout HEAD if no tags exist

Typically doing:
cvs co -r MY_TAG trunk/myproject

This will check-out HEAD *except* where the tags exist, that is only
dir3 would be a special check-out.
Any calls to cvs update would update all files *except* to the files
tagged with MY_TAG

In SVN this behaviour isn't possible.
The only way to do this is to first check-out HEAD, then go into what
has been checked-out, and check-out again the directory dir3 from the
tag area (which also means you have to know where the tag is located)

I find this very difficult to manage and the usefulness of a tag has
been lost IMO in SVN.

Now maybe I've just missed something obvious, and would love somebody
to enlighten me.

Is a similar behaviour possible with Subversion?

Cheers
Jean-Yves

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 14 11:45:23 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.