[PATCH 1 of 3] subrepo: only retrieve the first two components of the Git version

David Soria Parra dsp at experimentalworks.net
Fri Mar 21 17:00:39 CDT 2014


Siddharth Agarwal <sid0 at fb.com> writes:

> # HG changeset patch
> # User Siddharth Agarwal <sid0 at fb.com>
> # Date 1395369421 25200
> #      Thu Mar 20 19:37:01 2014 -0700
> # Node ID fae4002ec0e4060ffe84d6fb11d8ab1f566b2aa1
> # Parent  170d6d591a7dbc09bfe1b509dfd8f39991e653a9
> subrepo: only retrieve the first two components of the Git version
>
> This makes the version detection compatible with Git versions like '1.9-rc0'.
> We only cared about the first two components of the version 

Series looks good to me.

I would be nice to have tests for this by providing a bashscript that
replaces in the necessary test


More information about the Mercurial-devel mailing list