gecko-dev/python/mozlint
Andrew Halberstadt f6cad69dd3 Bug 1460690 - [mozlint] Make sure vcs_paths are always joined to the repository root, r=standard8
Files returned from version control (i.e via --outgoing or --workdir), are currently joined to
cwd. This will cause failures if |mach lint| is run from anywhere other than topsrcdir.

However we *do* want to join manually specified paths to cwd so things like:
cd devtools && mach lint client

continue to work. This patch makes sure we join the proper kind of path to the proper place.

MozReview-Commit-ID: EQmRhAr3Oog

--HG--
extra : rebase_source : 2629cc27f79059e44369d46d4f8278f83923582c
2018-05-11 11:13:36 -04:00
..
mozlint Bug 1460690 - [mozlint] Make sure vcs_paths are always joined to the repository root, r=standard8 2018-05-11 11:13:36 -04:00
test Bug 1460690 - [mozlint] Make sure vcs_paths are always joined to the repository root, r=standard8 2018-05-11 11:13:36 -04:00
setup.py Bug 1397423 - Enable py2 linter on python/mozlint. r=ahal 2017-09-06 22:52:46 -04:00