mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 09:16:58 -10:00
Previously, vcs related stuff was resolved in the cli.py module. But it's possible for consumers to bypass the cli and instantiate a LintRoller directly. In fact this is what the mozlint tests do. Now that we always try to find the vcs root, calling into vcs is no longer optional. This patch moves the VCSFiles class to a new vcs.py module and makes LintRoller responsible for instantiating it instead of cli.py. MozReview-Commit-ID: 5yA3gDZ1UGM