Sharing code between different projects?

andrea crotti andrea.crotti.0 at gmail.com
Thu Aug 16 06:57:21 EDT 2012


2012/8/16 Jean-Michel Pichavant <jeanmichel at sequans.com>:
>
> SVN allows to define external dependencies, where one repository will
> actually checkout another one at a specific version. If SVN does it, I guess
> any decent SCM also provide such feature.
>
> Assuming our project is named 'common', and you have 2 projects A and B :
>
> A
>    - common at rev1
>
> B
>    - common at rev2
>
> Project A references the lib as "A.common", B as "B.common". You need to be
> extra carefull to never reference common as 'common' in any place.
>
> JM
>


Unfortunately I think you guess wrong
http://forums.perforce.com/index.php?/topic/553-perforce-svnexternals-equivalent/
Anyway with views and similar things is not that hard to implement the
same thing..



More information about the Python-list mailing list