Suggest using push option when deprecated topic syntax is used

We prefer the usage of push options, hence recommend "-o topic=<TOPIC>"
instead of "%topic=<TOPIC>".

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I4092a145c11a9e7608d6bfb07fb136ad858ad71a
This commit is contained in:
Edwin Kempin
2019-04-18 12:55:40 +02:00
parent 3ee08e7cb6
commit 869977a95d

View File

@@ -1842,7 +1842,7 @@ class ReceiveCommits {
if (magicBranch.deprecatedTopicSeen) {
messages.add(
new ValidationMessage(
"WARNING: deprecated topic syntax. Use %topic=TOPIC instead", false));
"WARNING: deprecated topic syntax. Use -o topic=TOPIC instead", false));
logger.atInfo().log("deprecated topic push seen for project %s", project.getName());
}