Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54487 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78438 invoked from network); 9 Aug 2011 07:45:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2011 07:45:10 -0000 Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 209.85.215.42 mail-ew0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:47024] helo=mail-ew0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/70-09638-185E04E4 for ; Tue, 09 Aug 2011 03:45:07 -0400 Received: by ewy2 with SMTP id 2so861299ewy.29 for ; Tue, 09 Aug 2011 00:45:01 -0700 (PDT) Received: by 10.14.119.1 with SMTP id m1mr719127eeh.40.1312875901220; Tue, 09 Aug 2011 00:45:01 -0700 (PDT) Received: from [192.168.1.111] (40-34.60-188.cust.bluewin.ch [188.60.34.40]) by mx.google.com with ESMTPS id w9sm2859770eej.19.2011.08.09.00.44.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 00:45:00 -0700 (PDT) Message-ID: <4E40E57C.70106@seld.be> Date: Tue, 09 Aug 2011 09:45:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: internals@lists.php.net References: <4E3F8915.8030009@rotorised.com> In-Reply-To: <4E3F8915.8030009@rotorised.com> X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation. From: j.boggiano@seld.be (Jordi Boggiano) On 08.08.2011 08:58, Ryan McCue wrote: > Kiall Mac Innes wrote: >> Later on in the doc, you go into detail about submodules, and CRLF -> LF >> support in both Git and Hg. > > To be fair, submodules don't work exactly the same. Unlike > svn:externals, which are linked to a repository, submodules are linked > to a repository *and a commit*. That means that if an external is > updated, the submodule must be updated, and that change must be committed. The main difference is that submodules are entire repositories, while in svn you can take sub-trees as externals. The difference you mention is not really one, because you can do the same in svn using 'foo -r1000 svn://somerepo' and have it fixed to one revision, just like git does. It's a much saner approach anyway to avoid people having out-of-sync versions of the externals. Cheers -- Jordi Boggiano @seldaek - http://nelm.io/jordi