Give 'gclient revert' a --merge option to match sync

This is a workaround for the fact that 'gclient revert' calls
'gclient update' with the same `options` object, despite not
actually having the same set of command line options.

R=iannucci@chromium.org, kevcheng@chromium.org
BUG=631220

Review-Url: https://codereview.chromium.org/2184493002
changes/90/365990/1
agable 9 years ago committed by Commit bot
parent cbfbd2c342
commit c903d73f3c

@ -2154,6 +2154,7 @@ def CMDrevert(parser, args):
options.force = True
options.reset = False
options.delete_unversioned_trees = False
options.merge = False
client = GClient.LoadCurrentConfig(options)
if not client:
raise gclient_utils.Error('client not configured; see \'gclient config\'')

Loading…
Cancel
Save