| Index: tools/push-to-trunk/auto_roll.py
|
| diff --git a/tools/push-to-trunk/auto_roll.py b/tools/push-to-trunk/auto_roll.py
|
| index 567f23b0fe8a59df321dc1d62d71b4bf31eb296a..607ca0897abf7db55951f117279f90a1ef03dcc1 100755
|
| --- a/tools/push-to-trunk/auto_roll.py
|
| +++ b/tools/push-to-trunk/auto_roll.py
|
| @@ -70,18 +70,23 @@ class RollChromium(Step):
|
|
|
| def RunStep(self):
|
| if self._options.roll:
|
| + args = [
|
| + "--author", self._options.author,
|
| + "--reviewer", self._options.reviewer,
|
| + "--chromium", self._options.chromium,
|
| + "--force",
|
| + ]
|
| + if self._options.sheriff:
|
| + args.extend([
|
| + "--sheriff", "--googlers-mapping", self._options.googlers_mapping])
|
| R = chromium_roll.ChromiumRoll
|
| self._side_effect_handler.Call(
|
| R(chromium_roll.CONFIG, self._side_effect_handler).Run,
|
| - ["--author", self._options.author,
|
| - "--reviewer", self._options.reviewer,
|
| - "--chromium", self._options.chromium,
|
| - "--force"])
|
| + args)
|
|
|
|
|
| class AutoRoll(ScriptsBase):
|
| def _PrepareOptions(self, parser):
|
| - group = parser.add_mutually_exclusive_group()
|
| parser.add_argument("-c", "--chromium", required=True,
|
| help=("The path to your Chromium src/ "
|
| "directory to automate the V8 roll."))
|
|
|