On 03/27/2013 07:37 PM, Robert O'Callahan wrote:
> I predict that eventually we'll want to switch mozilla-central to git. (I'm
> not in favour of it, but hg is not the DVCS of the future.) So, git users
> not liking git's subrepositories gives me pause and I think it's imperative
> to consider the situation of git users now and after a hypothetical
> mozilla-central switch to git.

I've investigated submodules before to try to solve this exact problem
and came away pretty unimpressed. This was nearly 3 or 4 years ago, but
I doubt things have changed much.

A quick search suggests that other people are also similarly unimpressed
with submodules, such as the post at
http://codingkilledthecat.wordpress.com/2012/04/28/why-your-company-shouldnt-use-git-submodules/

I suspect the answer here would be to choose a solution that is easily
convertible to a repo-style setup. We already have experience in-house
with repo due to Android and B2G and it seems to mostly do what we would
be aiming for with this project.

On the main note (which I already brought up on IRC): I would be very
interested in seeing whether this experiment succeeds or not, as I'd
like to get to the stage where the entire Skia source tree inside
mozilla-central is just a checkout of upstream Skia, whether that's via
submodules or repo or whatever.

George
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to