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

[Fwd: Re: sharing code between projects]

From: T. Wassermann <mail_at_tobias-wassermann.de>
Date: 2006-06-07 09:27:05 CEST

attached mail follows:


Noam Tamim wrote:
> Hi,
>
> We have two projects on the same Subversion repository, each starting
> at the root and having its own set of trunk, branches and tags.
> Project1 needs to use some of the code of Project2 - as if it was its
> own. It would be best if that also included ability to commit, that
> would update Project2.
>
> What are my options?
>
> Thanks,
> Noam.
Hi,

if i understand correct, you'll use code of Project 1 in Project 2 - and
if the code in the first one changes, the changes must also be available
in the second project, and if you change the 'imported' source in
project 2, the original files in project 1 must be updated. I think, you
should use externals:
http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html

Best Regards

Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 7 09:28:44 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.