diff --git a/build/mach_bootstrap.py b/build/mach_bootstrap.py index 9b24aeb4af4..6d6f6ef453b 100644 --- a/build/mach_bootstrap.py +++ b/build/mach_bootstrap.py @@ -41,25 +41,6 @@ Note: `{mach} mercurial-setup` does not make any changes without prompting you first. '''.strip() -OLD_MERCURIAL_TOOLS = ''' -*** MERCURIAL CONFIGURATION POTENTIALLY OUT OF DATE *** - -mach has detected that it has been a while since you have run -`{mach} mercurial-setup`. - -Having the latest Mercurial tools and configuration should lead to a better, -more productive experience when working on Mozilla projects. - -Please run `{mach} mercurial-setup` now. - -Reminder: `{mach} mercurial-setup` does not make any changes without -prompting you first. - -To avoid this message in the future, run `{mach} mercurial-setup` once a month. -Or, schedule `{mach} mercurial-setup --update-only` to run automatically in -the background at least once a month. -'''.strip() - MERCURIAL_SETUP_FATAL_INTERVAL = 31 * 24 * 60 * 60 @@ -281,9 +262,6 @@ def bootstrap(topsrcdir, mozilla_dir=None): if mtime is None: print(NO_MERCURIAL_SETUP.format(mach=sys.argv[0]), file=sys.stderr) sys.exit(2) - elif time.time() - mtime > MERCURIAL_SETUP_FATAL_INTERVAL: - print(OLD_MERCURIAL_TOOLS.format(mach=sys.argv[0]), file=sys.stderr) - sys.exit(2) def populate_context(context, key=None): if key is None: