Re: [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.
| From: | Jordi Boggiano | Date: | Tue, 09 Aug 2011 07:45:00 +0000 |
| Subject: | Re: [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation. | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54487@lists.php.net to get a copy of this message | ||
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