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

RE: Property to mark the location of tags folder?

From: Mark <mark_at_msdhub.com>
Date: 2004-10-25 17:59:28 CEST

Well, that only works if your repository is laid out as:

/trunk/project/stuff
/tags/project/stuff
/branches/project/stuff

Many people (me included) lay out the repo as:

/project/trunk/stuff
/project/tags/stuff
/project/branches/stuff

In my case, there isn't a single tags location, and some projects are even
laid out as

/project/stuff

Because there will never be a tag or a branch.

Any solution that requires a specific repository layout will be a super hard
sell.

Mark

-----Original Message-----
From: JM Ibanez [mailto:jmibanez@gmail.com]
Sent: Sunday, October 24, 2004 10:50 PM
To: SVN Users
Subject: Property to mark the location of tags folder?

I've been following the discussion of the CVS-vs-SVN tags debate, and
here are my $0.02 :

*) Is it possible to add a 'svn tag' command, which depends on the
presence of a svn:tags-location prop in the root of the working copy?
'svn:tags-location' would then point to the tags directory, relative
to the URL location of the working copy. (I do understand that this
might get kludgy, but it's just a suggestion)
*) In a similar light, why not also add a 'svn:tag-directories' prop
to the root of the whole repository? Then, when a commit is performed,
the svn server-side code could look into this property, verify that
the commit is NOT affecting a tree marked by tag-directories, etc,
IMHO this is an acceptable middle ground to CVS tagging and SVN
tags/branches-as-copies, and enforcement of tag immutability are then
left as integral to the system.

Of course, feel free to take apart my suggestions. ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 25 18:03:25 2004

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.