[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: Jim Blandy <jimb_at_red-bean.com>
Date: 2005-11-10 18:29:05 CET

On 11/10/05, Marc Sherman <msherman@projectile.ca> wrote:
>
> Here's a simpler idea, that requires only a single property, set on the
> parent directory of trunk/branches:
>
> svn:roots = (trunk|branches/[^/]+)

I think this has two problems:

- If I have a wc based on a branch, how does this help me find the
corresponding trunk? The repository could have many projects in it. The
trunk might not be a sibling of the branches directory.

- The regexp given assumes that there is only one directory component after
'branches'; that is, every subdirectory of 'branches' must be a root. But we
encourage people to take advantage of the fact that the branch 'namespace'
is really just part of the directory tree, and use hierarchy within branch
names: 'experimental/wacko'. If all your branch names were two levels deep,
then you could fix the regexp. Or if all your root names ended in '%' (say),
and never used % elsewhere, then you could fix the regexp.
Received on Thu Nov 10 18:32:08 2005

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