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 cec1489de4167a210f94c13e791a89f49bda0242..b0f1b26635a236f4891f86f2212154cefeee767b 100755 |
--- a/tools/push-to-trunk/auto_push.py |
+++ b/tools/push-to-trunk/auto_push.py |
@@ -118,6 +118,8 @@ class PushToCandidates(Step): |
args.extend(["--svn-config", self._options.svn_config]) |
if self._options.vc_interface: |
args.extend(["--vc-interface", self._options.vc_interface]) |
+ if self._options.work_dir: |
+ args.extend(["--work-dir", self._options.work_dir]) |
# TODO(machenbach): Update the script before calling it. |
if self._options.push: |