Bug 1344117 - Always print a message when adding --artifact to a try push automatically. r=nalexander

MozReview-Commit-ID: 7pVIG4v7DHq

--HG--
extra : rebase_source : c966d73c3d7c6f97a235ec8597076fc2ea4d95bb
This commit is contained in:
Chris Manchester 2017-03-02 21:21:52 -08:00
parent 86750f7cbe
commit b8149e55c0

View file

@ -705,16 +705,15 @@ class PushToTry(MachCommandBase):
print(e.message)
sys.exit(1)
if kwargs["verbose"]:
if self.substs.get("MOZ_ARTIFACT_BUILDS"):
if kwargs["no_artifact"]:
print('mozconfig has --enable-artifact-builds but '
'--no-artifact specified, not including --artifact '
'flag in try syntax')
else:
print('mozconfig has --enable-artifact-builds; including '
'--artifact flag in try syntax (use --no-artifact '
'to override)')
if self.substs.get("MOZ_ARTIFACT_BUILDS"):
if kwargs["no_artifact"]:
print('mozconfig has --enable-artifact-builds but '
'--no-artifact specified, not including --artifact '
'flag in try syntax')
else:
print('mozconfig has --enable-artifact-builds; including '
'--artifact flag in try syntax (use --no-artifact '
'to override)')
if kwargs["verbose"] and paths_by_flavor:
print('The following tests will be selected: ')