Index: tools/push-to-trunk/auto_push.py |
diff --git a/tools/push-to-trunk/auto_push.py b/tools/push-to-trunk/auto_push.py |
index e53fe2fc91643612a63db05c01e3240e658af2d2..99af143afcc365a12207c5e3048645d50adc490a 100755 |
--- a/tools/push-to-trunk/auto_push.py |
+++ b/tools/push-to-trunk/auto_push.py |
@@ -105,6 +105,20 @@ class PushToCandidates(Step): |
def RunStep(self): |
print "Pushing lkgr %s to candidates." % self["lkgr"] |
+ args = [ |
+ "--author", self._options.author, |
+ "--reviewer", self._options.reviewer, |
+ "--revision", self["lkgr"], |
+ "--force", |
+ ] |
+ |
+ if self._options.svn: |
+ args.extend(["--svn", self._options.svn]) |
+ if self._options.svn_config: |
+ args.extend(["--svn-config", self._options.svn_config]) |
+ if self._options.vc_interface: |
+ args.extend(["--vc-interface", self._options.vc_interface]) |
+ |
# TODO(machenbach): Update the script before calling it. |
if self._options.push: |
self._side_effect_handler.Call( |