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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user