Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3281)

Unified Diff: drover.py

Issue 328009: Add a new --workdir param to specify the subdir to use (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/tools/depot_tools/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drover.py
===================================================================
--- drover.py (revision 29726)
+++ drover.py (working copy)
@@ -366,7 +366,7 @@
else:
url = TRUNK_URL
- working = DEFAULT_WORKING
+ working = options.workdir or DEFAULT_WORKING
M-A Ruel 2009/10/23 19:45:50 2 whitespaces.
command = 'svn log ' + url + " -r "+str(revision) + " -v"
os.system(command)
@@ -455,6 +455,8 @@
help='Branch to revert or merge from')
option_parser.add_option('-r', '--revert', type="int",
help='Revision to revert')
+ option_parser.add_option('-w', '--workdir',
+ help='subdir to use for the revert')
option_parser.add_option('', '--revertbot', action='store_true',
default=False)
option_parser.add_option('', '--revertbot-commit', action='store_true',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698