Transient Windows test failures

Augie Fackler raf at
Fri Jun 16 09:59:30 EDT 2017

On Fri, Jun 16, 2017 at 12:18:18AM -0400, Matt Harbison wrote:
> So apparently, this is a symptom of not having %SystemRoot% in the
> environment when calling CreateProcess().
> I see that special cases this variable.  I did a search for 'env
> =', and it looks like hooks and pager start with empty environments, so they
> must not inherit this.  IDR if any recent changes were made that start with
> an empty environment.
> The thing I can't get my mind around is the hit and miss nature of the
> error, if this is really the problem.

It sounds like it should be harmless to just always forward
%SystemRoot% - should we just do that?

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at

More information about the Mercurial-devel mailing list