Bug 1654535 - [tryselect] Update |mach try --help| text with corrected default selector, DONTBUILD, r=smacleod
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 22 Jul 2020 20:45:57 +0000
changeset 541704 e195c31b838fc9b6d4b55b438b9510d3e2a07f83
parent 541703 1c5c7e3874e67b62426049f6d54d64ac9690196e
child 541705 99616c0729ec7a21dc0c1bde523c9779b71a0af9
push id122425
push userahalberstadt@mozilla.com
push dateWed, 22 Jul 2020 21:39:25 +0000
treeherderautoland@e195c31b838f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmacleod
bugs1654535
milestone80.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1654535 - [tryselect] Update |mach try --help| text with corrected default selector, DONTBUILD, r=smacleod Differential Revision: https://phabricator.services.mozilla.com/D84527
tools/tryselect/docs/index.rst
tools/tryselect/mach_commands.py
--- a/tools/tryselect/docs/index.rst
+++ b/tools/tryselect/docs/index.rst
@@ -28,22 +28,22 @@ Before you can push to try, you'll need 
 the :doc:`configuration` page for more information.
 
 The recommended way to push to try is via the ``mach try`` command. This will work with mercurial
 (via the ``push-to-try`` extension) and git (via ``git-cinnabar``). The ``mach try`` command offers
 a variety of different ``selectors`` which are implemented as a subcommands. See :doc:`selectors
 <selectors/index>` for available list.
 
 If no subcommand is specified, ``mach try`` will a subcommand to dispatch to. By default this is
-the ``syntax`` selector. In other words, these commands are equivalent:
+the ``auto`` selector. In other words, these commands are equivalent:
 
 .. code-block:: shell
 
     $ mach try
-    $ mach try syntax
+    $ mach try auto
 
 You can choose to use a different default selector by configuring your ``~/.mozbuild/machrc`` file:
 
 .. code-block:: ini
 
     [try]
     default=fuzzy
 
--- a/tools/tryselect/mach_commands.py
+++ b/tools/tryselect/mach_commands.py
@@ -191,19 +191,19 @@ class TrySelect(MachCommandBase):
     def try_default(self, argv=None, **kwargs):
         """Push selected tests to the try server.
 
         The |mach try| command is a frontend for scheduling tasks to
         run on try server using selectors. A selector is a subcommand
         that provides its own set of command line arguments and are
         listed below.
 
-        If no subcommand is specified, the `syntax` selector is run by
-        default. Run |mach try syntax --help| for more information on
-        scheduling with the `syntax` selector.
+        If no subcommand is specified, the `auto` selector is run by
+        default. Run |mach try auto --help| for more information on
+        scheduling with the `auto` selector.
         """
         # We do special handling of presets here so that `./mach try --preset foo`
         # works no matter what subcommand 'foo' was saved with.
         preset = kwargs['preset']
         if preset:
             if preset not in self.presets:
                 self.parser.error("preset '{}' does not exist".format(preset))