As a previous CVS outfit, we've used the cvs2svn to bring all our
modules to SVN. We did this 4 or so years ago, and we've been chuging
along with SVN ever since.
But using the old metaphore of different CVS modules to achieve a
similar product, we've had to parallel-branch, using svn:externals
definitions. We find this work to be more than it's worth, and when 1.5
came out with relative paths in svn-externals definitions, we were
excited about what was coming.
The release fell far short. I was hoping to define an svn:externals to
say, "use the same relative path to this URL in a different repository."
For example, if my "foo" trunk had an externals defined to the "bar"
repository, I'd like to branch both "foo" and "bar", and when I check
out "foo" I want the "bar" reference to use the relative path that was
assigned to "foo."
I hear echos of this same desire at the bottom of bug 1336.
Here's my suggestion, in the form of shell text. I just used a "$"
symbol below to define that "same relative path..." This "$" is to
compare with the ^ used for the beginning of a URL definition.
> twm_at_twmpc 146 /work/foo-repo> svn propset svn:externals
> "svn://gauss/bar-repo/$ bar" .
> property 'svn:externals' set on '.'
> twm_at_twmpc 147 /work/foo-repo> svn ci
> Sending .
> Committed revision 15.
> twm_at_twmpc 149 /work/foo-repo> svn copy svn://gauss/foo-repo/trunk
> svn://gauss/foo-repo/branches/foo -m "This is designed for testing"
> Committed revision 16.
> twm_at_twmpc 150 /work/foo-repo> svn copy svn://gauss/bar-repo/trunk
> svn://gauss/bar-repo/branches/foo -m "This is designed for testing"
> Committed revision 77.
> twm_at_twmpc 151 /work/foo-repo> svn switch svn://gauss/foo-repo/branches/foo
> At revision 16.
> twm_at_twmpc 152 /work/foo-repo> svn up
> svn: warning: Error handling externals definition for 'bar':
> svn: warning: URL 'svn://gauss/bar-repo/$' at revision 77 doesn't exist
> At revision 16.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-20 18:54:27 CEST