Bug 1548785 - Remove suggestion to pass '--git' to 'mach vcs-setup'; r=froydnj
authorMike Shal <mshal@mozilla.com>
Tue, 07 May 2019 20:33:43 +0000
changeset 531787 1ff1cdb1f08137d2a7249509eca0c96d4a0b86c4
parent 531786 32f80fe37c03c179855f844642af970755cdd9bf
child 531788 8f3c6a2c4df19e91115f3ec870b766a9f95ee4c8
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1548785, 1484243
milestone68.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 1548785 - Remove suggestion to pass '--git' to 'mach vcs-setup'; r=froydnj Bug 1484243 removed the --git argument and made the VCS auto-detected, so we should no longer suggest passing in that argument in error messages. Differential Revision: https://phabricator.services.mozilla.com/D30257
tools/tryselect/mach_commands.py
tools/tryselect/push.py
--- a/tools/tryselect/mach_commands.py
+++ b/tools/tryselect/mach_commands.py
@@ -351,17 +351,17 @@ class TrySelect(MachCommandBase):
         positional argument they will be run in a single chunk.
 
         If no build option is selected, both debug and opt will be
         scheduled. If no platform is selected a default is taken from
         the AUTOTRY_PLATFORM_HINT environment variable, if set.
 
         The command requires either its own mercurial extension ("push-to-try",
         installable from mach vcs-setup) or a git repo using git-cinnabar
-        (installable from mach vcs-setup --git).
+        (installable from mach vcs-setup).
 
         """
         try:
             if self.substs.get("MOZ_ARTIFACT_BUILDS"):
                 kwargs['local_artifact_build'] = True
         except BuildEnvironmentNotFoundException:
             # If we don't have a build locally, we can't tell whether
             # an artifact build is desired, but we still want the
--- a/tools/tryselect/push.py
+++ b/tools/tryselect/push.py
@@ -13,17 +13,17 @@ from mozbuild.base import MozbuildObject
 from mozversioncontrol import get_repository_object, MissingVCSExtension
 
 GIT_CINNABAR_NOT_FOUND = """
 Could not detect `git-cinnabar`.
 
 The `mach try` command requires git-cinnabar to be installed when
 pushing from git. Please install it by running:
 
-    $ ./mach vcs-setup --git
+    $ ./mach vcs-setup
 """.lstrip()
 
 HG_PUSH_TO_TRY_NOT_FOUND = """
 Could not detect `push-to-try`.
 
 The `mach try` command requires the push-to-try extension enabled
 when pushing from hg. Please install it by running: