[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Do externals break if server moves?

From: Mark Clements <nntp_at_kennel17.co.uk>
Date: 2006-08-12 20:38:39 CEST


I am in the process of setting up my first SVN repository, to handle
multiple projects that we are working on (some connected, others completely
separate). I was planning to use a separate repository for each project,
with 'externals' folders to share resources where necessary.

For example, I might have the following 2 repositories


In Project1 I would have a folder /repos/Project1/trunk/PHPLib which is an
external reference to http://mydomain.com/repos/PHPLib/branches/1.0, so we
would be using the head of the v1 branch of the libarary at all times. When
tags are created within Project1, this external in the tag would be modified
to point to a specific revision of the library so that further changes to
the library do not affect the tagged version.

However, it occurs to me that if we move domains (e.g. to mydomain2.com)
then all these old links will be broken! Is there anyway to avoid this,
e.g. to use relative links, or to edit historical data after a change
(without creating new revisions). I want to be sure that if we need to
build Project1 v1.0 in a couple of years (possibly having moved servers)
that all the necessary files are still available and are from the correct

- Mark Clements

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 12 20:46:28 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.