From dc31130b11c076c946b612f90315c90b63d75c9a Mon Sep 17 00:00:00 2001 From: Gregory Szorc Date: Tue, 21 Jul 2015 10:09:49 -0700 Subject: [PATCH] Bug 1185562 - Print message saying the mercurial-setup failures unblock mach; r=smacleod The messaging on this could be bikeshedded. Something is better than nothing, that's for sure. --HG-- extra : commitid : BIflUCCjwsg extra : rebase_source : 72913ca7cfeadaf6f3efd1a277282a6786d2ba66 --- tools/mercurial/mach_commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/mercurial/mach_commands.py b/tools/mercurial/mach_commands.py index e9efb6eba3fd..89a64cf2f7d3 100644 --- a/tools/mercurial/mach_commands.py +++ b/tools/mercurial/mach_commands.py @@ -67,4 +67,8 @@ class VersionControlCommands(object): wizard = MercurialSetupWizard(self._context.state_dir) result = wizard.run(map(os.path.expanduser, config_paths)) + if result: + print('(despite the failure, mach will not nag you to run ' + '`mach mercurial-setup`)') + return result