Proposal for referencing related paths
From: Christian Stork <cstork_at_ics.uci.edu>
Date: 2005-11-13 22:45:11 CET
This proposal is a simplification of the previous proposals on easy
The problem that I want to solve (very inprecise but concise) is:
"Given a repo path p1 and a branch +b find the corresponding
We have two properties:
- 'svn:treeroot' contains the path of a related tree, usually the trunk.
- 'svn:projectroot' might be empty or contain a mapping of branch
The following algorithm makes use of the idea of a node's refpath
Using refpaths has the advantage that comparisons among branches are
1. Determine reference path:
2. Locate branch:
3. Determine corresponding path:
p2 = +b's-path / p1's-refpath-relative-to-projectroot
Which properties need to be set to make this algorithm work for our
repo root "/":
branch /branches/experimental corresponding to /trunk/some/sub/dir/X:
This provides branch identification of the form +branches/experimental.
* /branches/*
which would allow +experimental.
Well, that got a little long and I didn't even consider nested
-- Chris Stork <> Support eff.org! <> http://www.ics.uci.edu/~cstork/ OpenPGP fingerprint: B08B 602C C806 C492 D069 021E 41F3 8C8D 50F9 CA2F --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sun Nov 13 23:16:32 2005 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.