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 5f2e573bdc4e40c3bb924d3abfec21f497dd74ed..7e0e51f982c7b5e247a09e31e09d6a0ad385d36f 100755 |
--- a/tools/push-to-trunk/merge_to_branch.py |
+++ b/tools/push-to-trunk/merge_to_branch.py |
@@ -182,7 +182,7 @@ class ApplyPatches(Step): |
for commit_hash in self["patch_commit_hashes"]: |
print("Applying patch for %s to %s..." |
% (commit_hash, self["merge_to_branch"])) |
- patch = self.GitLog(n=1, patch=True, git_hash=commit_hash) |
+ patch = self.GitGetPatch(commit_hash) |
TextToFile(patch, self.Config(TEMPORARY_PATCH_FILE)) |
self.ApplyPatch(self.Config(TEMPORARY_PATCH_FILE), self._options.revert) |
if self._options.patch: |