commit | efb6729b7009e7f43775b1b29b3f8493d7244bd4 | [log] [tgz] |
---|---|---|
author | Christian Aistleitner <christian@quelltextlich.at> | Sat Mar 23 12:56:55 2013 +0100 |
committer | Christian Aistleitner <christian@quelltextlich.at> | Sat Mar 23 13:35:47 2013 +0100 |
tree | 93f70547ba174a41ebe7ccef3be67bd49f69d5cf | |
parent | 4bc56989ae48fee076f3d592ab640c4f63641272 [diff] |
Harmonize link text in ITS comments While the link text in ITS comments for gerrit comments started in Gerrit Change [Change-Id] (without colon), the link text in ITS comments for added patch sets started in Gerrit Patch-Set: [Change-Id]/[Patch Set-Id] (with colon). We now harmonize those messages and drop the colon. Change-Id: I535c1186a469e746a65bd7024c0f5c65cedd49b7
diff --git a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java index ec46d48..a404fea 100644 --- a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java +++ b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java
@@ -53,7 +53,7 @@ for (String issue : issues) { its.addRelatedLink(issue, new URL(patchsetCreated.change.url), - "Gerrit Patch-Set: " + patchsetCreated.change.id + "/" + "Gerrit Patch-Set " + patchsetCreated.change.id + "/" + patchsetCreated.patchSet.number); } }