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

tags vs. branches

From: Alexander Mueller <alex_at_littleblue.de>
Date: 2003-09-01 16:32:41 CEST

Well. The discussion of the differences between tags and branches has
been discussed a couple of times in the mailing lists.

The main difference appears to be the "final" status: branches are
a line of development while tags are markers to a single revision.

Different possibility haven been discussed how to get tag functionality.
Just one example:
   set up a pre-commit hook that forbids comming to an already
   existing tag

But how about this:
- introduce a new property svn:final. If this is true/1 then no
changes can be commit to the files that have this property set

- set this property either manually or with svn cp command:
   svn cp -r1234 --final http://svnserver/svn/myproc/trunk \
     http://svnserver/svn/myproc/tags/0.11

- when copying files will lose the svn:final flag. This way you
   can copy a tag into a branch a will be able to commit changes to
   the branch

- files/dirs with svn:final property still can be deleted

Xela

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 1 16:40:24 2003

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.