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

Re: Confused about svn:externals

From: Thomas Harold <tgh_at_tgharold.com>
Date: 2006-10-23 16:00:45 CEST

John wrote:
> SVN 1.2.3 on SuSE 10.1
>
> I'm in the process of upgrading from M$ VSS and have encountered a problem.
>
> I keep various aspects of my web site in separate directories and wish
> to have a common file (index.php) in each directory. Under VSS, this was
> easy using shares.

Not really possible to share individual files between projects in SVN (I
know, because this is an issue for us as well as we migrate from VSS to
SVN). There's been continual rumors of file sharing for the past few
years, but most suggestions are "use symbolic links in unix and store
them in SVN" which isn't helpful in a Windows environment.

What we've done to minimize the issue is that we have a very standard
index.asp file (and other ASP files that do other things) that are
nothing but includes. The common code gets put in a central include
folder, and any customizations are done via include files in that
directory (or parent directory).

We'll probably use svn:externals for media files that are shared between
  URLs. (i.e. the large graphics and multimedia files will be kept in a
sub-folder under the URL called "media".

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 23 16:02:03 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.