[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: Roth, Pierre <pierre.roth_at_covidien.com>
Date: Wed, 9 Jan 2008 12:23:32 -0000

>
> Roth, Pierre wrote:
> > Hi,
> >
> > 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 ?
> >
> >
> I use the following approach for maintaining shared files of my team's
> projects: each file in the repos has a property that contains
> a list of paths to this same file in the other projects. A
> pre-commit script uses this property to propagate changes
> made in a file in one project to the other projects. The
> script also automatically changes the property if a file is
> being copied between projects, renamed or deleted. With some
> carefulness (such as avoiding concurrent changes in multiple
> projects and avoiding using that property in working copies),
> this seems to work fine. I've been using this scheme for a
> couple of months now and everything has been going pretty
> smooth. The only issue was a bug fixed in 1.4.6 which caused
> the property updates to fail in some circumstances.
>
> Anyway, I'd love to have such a feature in the Subversion too :)
>
> Regarding,
> Dmitry
>
>

Fine ! Is your code available ?

---------------------------------------------------------------------
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-09 14:55:01 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.