зеркало из https://github.com/mozilla/gecko-dev.git
023a32e855
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 |
||
---|---|---|
.. | ||
devtools/migrate-l10n | ||
docs | ||
gdbpp/gdbpp | ||
l10n | ||
lldbutils | ||
mach | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozperftest | ||
mozrelease | ||
mozterm | ||
mozversioncontrol | ||
README | ||
mach_commands.py | ||
moz.build |
README
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Vendored python modules (use third_party/python instead) * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 https://bugzilla.mozilla.org/show_bug.cgi?id=1346025