gecko-dev/python/mozversioncontrol
Barret Rennie 023a32e855 Bug 1742480 - Don't anger watchman r=mhentges
If watchman is invoked (as part of hg's fsmonitor) with a path whose case does
not match the on-disk case (e.g., for case-insensitive file systems like NTFS),
it will get angry and throw a RootResolveError (although it will still work).
When doing `./mach try`, we end up invoking watchman several times which leads
to it getting very angry and throwing lots of errors.

This is all due to how we compute virtualenv paths -- by normcase()-ing them in
`mach.pth` -- which results in `push.py` having a lowercase path *even if* your
mozilla-central checkout has a non-lowercase on-disk path.

Calling Path.resolve() on the resulting path returns it to its on-disk
representation and no longer angers watchman.

Differential Revision: https://phabricator.services.mozilla.com/D133397
2021-12-10 06:04:46 +00:00
..
mozversioncontrol
test
setup.py