Use PolyGerrit-style URLs and project/+/changeId format in change emails
Gerrit preferes the ChangeId that includes the project name. This commit adds that to the change URLs used in emails. It adapts inbound email parsing and all necessary tests. PolyGerrit is now the default so we can switch those change links in emails over to PolyGerrit's URL schema. Change-Id: I9233a1c24779a36c5f3b63cf1326c26aed17ffd5
This commit is contained in:
@@ -23,7 +23,7 @@ import org.junit.Test;
|
||||
public class TextParserTest extends AbstractParserTest {
|
||||
private static final String quotedFooter =
|
||||
""
|
||||
+ "> To view, visit https://gerrit-review.googlesource.com/123\n"
|
||||
+ "> To view, visit https://gerrit-review.googlesource.com/c/project/+/123\n"
|
||||
+ "> To unsubscribe, visit https://gerrit-review.googlesource.com\n"
|
||||
+ "> \n"
|
||||
+ "> Gerrit-MessageType: comment\n"
|
||||
|
||||
Reference in New Issue
Block a user