( )⚙ D11354 hg: don't attempt to extend `sys.path` with the user site without `APPDATA`

This is an archive of the discontinued Mercurial Phabricator instance.

hg: don't attempt to extend `sys.path` with the user site without `APPDATA`
ClosedPublic

Authored by mharbison72 on Aug 26 2021, 11:19 AM.

Details

Summary

This variable is created by the system and *should* be available, but
test-lfs-bundle.t has a test where it is explicitly unset. It wasn't caught
before because prior to 95af358fcdfe, it was limited to the py2exe binary. As a
precaution, fix both that and the pyoxidizer case that was causing the test to
fail.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mharbison72 created this revision.Aug 26 2021, 11:19 AM
Alphare accepted this revision.Aug 27 2021, 4:33 AM
Alphare added a subscriber: Alphare.

Sounds good

This revision is now accepted and ready to land.Aug 27 2021, 4:33 AM