git_cl: show actual gerrit host instead of placeholder

This removes necessity of URL modification to open the settings.

Change-Id: I22314d3e04eac476499773a8680dec32a1886eb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4970438
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
changes/38/4970438/5
Takuto Ikuta 2 years ago committed by LUCI CQ
parent 8abeeaab0f
commit 744bfd2a7b

@ -5077,11 +5077,11 @@ def CMDupload(parser, args):
'\n' '\n'
'Depot Tools no longer sets new uploads to "WIP". Please update the\n' 'Depot Tools no longer sets new uploads to "WIP". Please update the\n'
'"Set new changes to "work in progress" by default" checkbox at\n' '"Set new changes to "work in progress" by default" checkbox at\n'
'https://<host>-review.googlesource.com/settings/\n' 'https://%s/settings/\n'
'\n' '\n'
'To opt-out use `export DOGFOOD_STACKED_CHANGES=0`.\n' 'To opt-out use `export DOGFOOD_STACKED_CHANGES=0`.\n'
'To hide this message use `export DOGFOOD_STACKED_CHANGES=1`.\n' 'To hide this message use `export DOGFOOD_STACKED_CHANGES=1`.\n'
'File bugs at https://bit.ly/3Y6opoI\n') 'File bugs at https://bit.ly/3Y6opoI\n' % cl.GetGerritHost())
if options.squash and not disable_dogfood_stacked_changes: if options.squash and not disable_dogfood_stacked_changes:
if options.dependencies: if options.dependencies:

Loading…
Cancel
Save