On 11/10/05, Marc Sherman <email@example.com> 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