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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to