D5025: py3: make test-contrib-perf.t work on python 3
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Oct 13 08:45:51 UTC 2018
pulkit added a comment.
>> def perfstartup(ui, repo, **opts):
>> opts = _byteskwargs(opts)
>> timer, fm = gettimer(ui, opts)
>>
>> - cmd = sys.argv[0] + cmd = fsencode(sys.argv[0])
>
> Applying fsencode() on sys.argv is probably wrong on Windows, but it's perf.py,
> I don't care.
What's the right way to do it on windows?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5025
To: pulkit, #hg-reviewers
Cc: yuja, mjpieters, mercurial-devel
More information about the Mercurial-devel
mailing list