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

Re: Shared files between projects

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Mon, 7 Jan 2008 12:18:33 +0100

On Monday 07 January 2008, Roth, Pierre wrote:
> Is there ( current 1.4.6 release ) or is planned ( next 1.5 svn release
> ) to have a "shared file" functionality with svn ?
> i.e sharing files between projects (without using the svn:externals
> property). One change to a file in one project would then be
> automatically seen from other projects.
>
> Does not seem to exist on 1.4.6... But perhaps in 1.5 ?

The request for such things is pretty old and has not had enough of a lobby
yet, so it's unlikely to suddenly go in. Especially some people coming from
SourceSafe (VSS) sometimes miss this.

Alternatives:
- svn:external (only complete dirs)
- symlinks (not all platforms)
- using libraries/buildscripts/whatever to distribute the files to the
projects
- manually updating per-project copies
- automatically updating per-project copies

Note that I personally consider the VSS style shared sources a bad idea,
because it is not at all visible which projects you are modifying with
your "local" modifications. If a file is in a "common" folder or comes from a
library that is more explicit and doesn't bear the danger of breaking.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-07 12:19:02 CET

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.