PATCH for issue #1336 (to allow relative URL's in svn:externals)
From: Sau Dan Lee <danlee_at_informatik.uni-freiburg.de>
Date: 2004-07-23 16:52:32 CEST
These patches are against Revision 10392.
- Making svn_path_canonicalize() handle '../' as documented in svn_path.h
M subversion/libsvn_subr/path.c
- Making svn:external allow relative paths:
M subversion/include/svn_wc.h
A URL is recognized as relative only when it begins with '.' or '/'.
Example:
$ svn info
$ svn propget svn:externals .
$ svn subdir2 subdirB subdirC subdirD
Path: subdirB
Path: subdirB
Path: subdirB
Proposal enhancement:
e.g. when the above svn:externals property contains one more line:
Then, this should expand to
avoiding the need to specify "/path/to/repos".
Relative URLs are useful for repository/host-local references,
Of course, there are always ways to break relative references, in the
-- Sau Dan LEE §õ¦u´°(Big5) ~{@nJX6X~}(HZ) E-mail: danlee@informatik.uni-freiburg.de Home page: http://www.informatik.uni-freiburg.de/~danlee
---------------------------------------------------------------------
|
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.