Bug 1184598 - Don't perform mercurial-setup check for mach-commands command; r=smacleod

This command is used by tab completion handlers. A user reported that
hitting tab in his shell resulted in the mercurial-setup out of date
check spewing output.
This commit is contained in:
Gregory Szorc 2015-07-16 14:37:14 -07:00
parent a276714066
commit 1459354d8f

View File

@ -233,7 +233,7 @@ def bootstrap(topsrcdir, mozilla_dir=None):
# Don't do anything when...
# The user is performing a maintenance command.
if handler.name in ('bootstrap', 'doctor', 'mercurial-setup'):
if handler.name in ('bootstrap', 'doctor', 'mach-commands', 'mercurial-setup'):
return
# We are running in automation.