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 ea481e0f3eaeb10ef3d0bb351c2f09bebaae6fd9..0df548b690ad9edfbc625c32c687331235ab3eac 100755 |
--- a/tools/push-to-trunk/push_to_trunk.py |
+++ b/tools/push-to-trunk/push_to_trunk.py |
@@ -362,7 +362,10 @@ class CommitSVN(Step): |
MESSAGE = "Commit to SVN." |
def RunStep(self): |
- result = self.vc.Land() |
+ if self._options.svn: |
+ self.SVNCommit("trunk", self["commit_title"]) |
+ else: |
+ self.vc.Land() |
class TagRevision(Step): |