[PATCH 1 of 2 RFC] tests/hghave: extract hghave.py

Mads Kiilerich mads at kiilerich.com
Tue Jun 12 06:39:08 CDT 2012


On 12/06/12 13:17, Adrian Buehlmann wrote:
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1339495270 -7200
> # Node ID a52c543f0523f83d0c313b934646e9692fae254a
> # Parent  b112e265b78a614dac15d5be92d39926d5e653da
> tests/hghave: extract hghave.py
>
> hghave is degraded to a bare script, moving the functions to hghave.py
> so they can be shared later on.

I would start by introducing a '#require' syntax that could replace 
hghave completely.

Before that I would convert as many of the remaining hghave's as 
possible to #if.

/Mads


More information about the Mercurial-devel mailing list