[PATCH stable] setup: set SystemRoot even if .hg doesn't exist (issue3073)

Yuya Nishihara yuya at tcha.org
Sun Oct 30 08:48:59 CDT 2011


Mads Kiilerich wrote:
> Yuya Nishihara wrote, On 10/30/2011 02:18 PM:
> > # HG changeset patch
> > # User Yuya Nishihara<yuya at tcha.org>
> > # Date 1319980502 -32400
> > # Branch stable
> > # Node ID 4a702fd4fcf5f161af2ea49d543eb661add84a6f
> > # Parent  bf55991af17e7e07593cceb2163328ae8cf5ee65
> > setup: set SystemRoot even if .hg doesn't exist (issue3073)
> 
> Is there any reason we don't move the whole env initialisation outside 
> the .hg check? Do buildhgextindex have different needs than other 
> invocations of hg?

There's no particular reason to move *only* SystemRoot, but that's just
because buildhgextindex doesn't need the other environment variables
than SystemRoot. It doesn't run hg command itself.

Regards,
Yuya


More information about the Mercurial-devel mailing list