Index: tools/push-to-trunk/merge_to_branch.py |
diff --git a/tools/push-to-trunk/merge_to_branch.py b/tools/push-to-trunk/merge_to_branch.py |
index 9a9e65cd0a8b9d2f7774408405f7b476893c630c..927e504f7af7715a421960be8de8a87e8be86824 100755 |
--- a/tools/push-to-trunk/merge_to_branch.py |
+++ b/tools/push-to-trunk/merge_to_branch.py |
@@ -198,6 +198,7 @@ class CommitLocal(Step): |
else: |
title = ("Version %s (merged %s)" |
% (self["version"], self["revision_list"])) |
+ self["commit_title"] = title |
self["new_commit_msg"] = "%s\n\n%s" % (title, self["new_commit_msg"]) |
TextToFile(self["new_commit_msg"], self.Config("COMMITMSG_FILE")) |
self.GitCommit(file_name=self.Config("COMMITMSG_FILE")) |
@@ -219,8 +220,10 @@ class TagRevision(Step): |
def RunStep(self): |
if self._options.revert_bleeding_edge: |
return |
- print "Creating tag svn/tags/%s" % self["version"] |
- self.vc.Tag(self["version"], self.vc.RemoteBranch(self["merge_to_branch"])) |
+ print "Creating tag %s" % self["version"] |
+ self.vc.Tag(self["version"], |
+ self.vc.RemoteBranch(self["merge_to_branch"]), |
+ self["commit_title"]) |
class CleanUp(Step): |