[PATCH 2 of 2] blackbox: use util.getuser for portability

Durham Goode durham at fb.com
Tue Mar 19 18:58:21 CDT 2013


On 3/19/13 4:00 PM, "Bryan O'Sullivan" <bos at serpentine.com> wrote:

># HG changeset patch
># User Bryan O'Sullivan <bryano at fb.com>
># Date 1363734028 25200
># Node ID 3be0d4b21808f70fb075b69732a7459c74b7f859
># Parent  9a44c44337c701d6212454b993caa5f778254f56
>blackbox: use util.getuser for portability
>
>On Windows, our implementation is more robust than Python's version.

test-blackbox.py replaces getpass.getuser() to make the test results stay
the same. You'll need to fix that too.



More information about the Mercurial-devel mailing list