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

Re: file sharing across projects

From: Lee Merrill <LeeMerrill_at_bustech.com>
Date: 2004-09-10 16:04:03 CEST

Hi everyone,

    You can actually share files across multiple projects by using the
"svn:externals" property, but "svn commit" and "svn update" (and some
other commands) do not follow the links to the shared files, which makes
it possible to do an inconsistent update/commit/etc. So wrapper scripts
would probably be needed. The "-r" option should probably also be used
if "svn:externals" is used, so that the correct, matching version of the
shared files is retrieved. But if you change the shared files, then you
also have to change the "-r" option in all the directories that
reference them, but that's easier than changing copies of all the shared
files in every project.

Lee

>>From what I can tell, Subversion does not currently let
>>someone share a file across multiple projects.
>>

-- 
+=========================================================
+ Lee Merrill    lee@bustech.com    919-866-2008
+=========================================================
Unless otherwise stated, any views presented in this email are solely those of the author and do not necessarily represent those of the company.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 10 16:04:46 2004

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