[PATCH 1 of 2 fix-old-git] hghave: add git-ext-sh for testing if git understands ext::sh

Yuya Nishihara yuya at tcha.org
Fri Jun 16 09:37:03 EDT 2017


On Thu, 15 Jun 2017 21:59:35 -0700, Sean Farley wrote:
> # HG changeset patch
> # User Sean Farley <sean at farley.io>
> # Date 1497572003 25200
> #      Thu Jun 15 17:13:23 2017 -0700
> # Branch fix-old-git
> # Node ID 658fbb62fe6b37fbf2da80430a291dd37f16eb9a
> # Parent  29558247b00eff8c95c7604032b59cfbab34010d
> hghave: add git-ext-sh for testing if git understands ext::sh

> index 9423726..3eae1b8 100644
> --- a/tests/hghave.py
> +++ b/tests/hghave.py
> @@ -1,9 +1,10 @@
>  from __future__ import absolute_import
>  
>  import errno
>  import os
> +import packaging.version

packaging isn't the standard library. Perhaps it wouldn't be difficult to
reinvent packaging.version.parse().


More information about the Mercurial-devel mailing list