Index: tools/push-to-trunk/push_to_trunk.py |
diff --git a/tools/push-to-trunk/push_to_trunk.py b/tools/push-to-trunk/push_to_trunk.py |
index a9342283417ad067d6f98cbed982bd948a23ff91..a5391b504baa74ec5ec130100ac995474779b035 100755 |
--- a/tools/push-to-trunk/push_to_trunk.py |
+++ b/tools/push-to-trunk/push_to_trunk.py |
@@ -292,6 +292,14 @@ class SquashCommits(Step): |
# Remove date and trailing white space. |
text = re.sub(r"^%s: " % self._state["date"], "", text.rstrip()) |
+ # Retrieve svn revision for showing the used bleeding edge revision in the |
+ # commit message. |
+ args = "svn find-rev %s" % self._state["prepare_commit_hash"] |
+ svn_revision = self.Git(args).strip() |
+ text = MSub(r"^(Version \d+\.\d+\.\d+)$", |
+ "\\1 (V8 revision r%s)" % svn_revision, |
Jakob Kummerow
2014/01/23 12:57:36
Let's s/V8 revision/based on bleeding_edge revisio
Michael Achenbach
2014/01/23 13:02:42
Done.
|
+ text) |
+ |
# Remove indentation and merge paragraphs into single long lines, keeping |
# empty lines between them. |
def SplitMapJoin(split_text, fun, join_text): |