Index: tools/release/merge_to_branch.py |
diff --git a/tools/release/merge_to_branch.py b/tools/release/merge_to_branch.py |
index 7950fbda345bf8768c9b3ab11474079ad9fa1dc9..5fe3ba42516ea9b6004ee925e3a0bae8e3ebd005 100755 |
--- a/tools/release/merge_to_branch.py |
+++ b/tools/release/merge_to_branch.py |
@@ -104,8 +104,9 @@ |
def RunStep(self): |
- # Stringify: ["abcde", "12345"] -> "abcde, 12345" |
- self["revision_list"] = ", ".join(self["full_revision_list"])) |
+ # Stringify: [123, 234] -> "r123, r234" |
+ self["revision_list"] = ", ".join(map(lambda s: "r%s" % s, |
+ self["full_revision_list"])) |
if not self["revision_list"]: # pragma: no cover |
self.Die("Revision list is empty.") |