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', |