Blair Zajac wrote:
> John Peacock wrote:
>> Issac Goldstand wrote:
>>> I recently introducedan "svn:external" directory into
>>> several websites which contains common code. The external link is in
>>> our repository, but uses the https:// naming scheme. This works great
>>> for our developers, but when updating the server, we get an error
>>> svn: Unrecognized URL scheme for 'https://...'
>>> Is it possible to remap the external link to the equivalent file:///
>>> link on the working copies of the websites on the production server?
>> Not that I'm aware of. The svn:external is a property of the working
>> copy itself, so any update will replace any smart trick you could pull
>> to switch to a different path.
>> Is there some reason you can't use http:// for the svn:external path?
>> If you are concerned about making this a publicly accessible link, you
>> could bind to localhost only (since it appears from context that the
>> repository is local to the production server at least).
>> Is there some reason you can't install a version of svn that supports
>> client-ssl on the production server (note that you could install it
>> into a non-path'd location, so only the production instance would see
> Subversion 1.5 supports relative externals, so you can do this easily.
> It doesn't remap the externals, it just uses the schema or repository
> root from the working copy to construct the external URL:
That's cool. It seems to work for my https:// working-copies, but the
file based copy isn't working... Any pointers?
Here's an attempt to update the staging server:
Output from cd /home/www/staging/staging.XXX.net ; /usr/local/bin/svn15
Fetching external item into 'www/common'
svn: '/home/system/svnroot/common' is not a working copy
svn: Can't open file '/home/system/svnroot/common/.svn/entries': No such
file or directory
issac_at_ligluryjr:/home/www/staging/staging.XXX.net$ svn15 propget
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-06 14:21:54 CET