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

Re: Easy comparisons between related trunks, branches, and tags

From: Marc Sherman <msherman_at_projectile.ca>
Date: 2005-11-10 16:06:25 CET

Alan Barrett wrote:
> What I meant was, if I have the following structure:
> trunk/ [svn:parallel:foo = ../branches/foobranch]
> [svn:parallel:bar = ../branches/barbranch]
> branches/
> foobranch/ [svn:parallel:trunk = ../../trunk]
> barbranch/ [svn:parallel:trunk = ../../trunk]
> and I have a working copy somewhere in foobranch,
> and I try to refer to "+bar", it doesn't work.
> Hmm, what if there was a mechanism for indirection through
> the properties on a different directory?
> trunk/ [svn:parallel:foo = ../branches/foobranch]
> [svn:parallel:bar = ../branches/barbranch]
> [svn:parallel:trunk = .]
> branches/
> foobranch/ [svn:parallel:* = ../../trunk]
> barbranch/ [svn:parallel:* = ../../trunk]
> Now if I have 100 branches, then I need to set 100 dirprops on the
> "trunk", but the other 99 branches just need the indirection specifier
> to tell them "look at the trunk's dirprops for information about other
> branches".

Here's a simpler idea, that requires only a single property, set on the
parent directory of trunk/branches:

svn:roots = (trunk|branches/[^/]+)

- Need to set the property on the parent dir. Does subversion support
dirprops on the root of the repository?
- Need a regex library in subversion, which I understand is a new
requirement. I don't think it's an onerous one, personally.

- Marc

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 10 16:24:12 2005

This is an archived mail posted to the Subversion Dev mailing list.