Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'repository': 0.05; 'svn': 0.05; 'feature.': 0.07; 'subject:code': 0.07; 'cc:addr:python- list': 0.10; 'anyway': 0.11; 'decent': 0.16; 'subject:between': 0.16; 'subject:projects': 0.16; 'version.': 0.17; 'define': 0.20; 'assuming': 0.22; 'references': 0.23; 'external': 0.24; 'cc:2**1': 0.24; 'allows': 0.25; 'cc:addr:python.org': 0.25; 'header:In- Reply-To:1': 0.25; 'common': 0.26; 'guess': 0.27; 'message- id:@mail.gmail.com': 0.27; 'implement': 0.32; 'another': 0.33; 'received:google.com': 0.34; 'project': 0.34; 'wrong': 0.34; 'subject:?': 0.35; 'similar': 0.35; 'received:209.85': 0.35; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'where': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'skip:u 10': 0.60; 'url:index': 0.61; 'provide': 0.62; 'our': 0.65; 'url:forums': 0.84; 'url:topic': 0.84; 'url:php': 0.86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1n1NYU1kuaLg9f9/+4d9yVhYyAFdGB+vTgMhlDA4eLA=; b=TKPT3CVz3uGqrjxHr2X5qV4XVOe+3jFyHsHLGJJAorU1BMhhIZv/MYzgpO3NBOWY5u bIRnBFjOGXWOM6BYN2fqmSMIUVHvff7rrNXCoMzjLOgvp7+LoNsosEDPscHlXDPF81i1 C2hBGVei8CvUnP15SHXc2618jyle0oc/YNiVAol9v/dO8Ej1GIirH88Irlk5XjVDOfIO mOehRmlrRNeOimmKQ3dXRYqbOYMYtWfntBw70sO5SV9yTw8ZFMw+f2+yWdgG80NkTp40 SfzbBkgxQUdzLkTR4uCgYxXCEckOkTL07OezwVssWi8YLN4SZSEAoA2zUB3LjOVXiQ4n 36wA== MIME-Version: 1.0 In-Reply-To: <502CB426.9040302@sequans.com> References: <20120814215118.GA19167@cskk.homeip.net> <502CB426.9040302@sequans.com> Date: Thu, 16 Aug 2012 11:57:21 +0100 Subject: Re: Sharing code between different projects? From: andrea crotti To: Jean-Michel Pichavant Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1345114651 news.xs4all.nl 6881 [2001:888:2000:d::a6]:38824 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27152 2012/8/16 Jean-Michel Pichavant : > > 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@rev1 > > B > - common@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..