| Index: apply_issue.py
|
| diff --git a/apply_issue.py b/apply_issue.py
|
| index 801b0f17b9c88fdffad12ca5c017ac8e3c5e3483..8bcb3b2e55307f8817cb29be28bb94574bcb9f71 100755
|
| --- a/apply_issue.py
|
| +++ b/apply_issue.py
|
| @@ -235,17 +235,17 @@ def main():
|
| print(
|
| 'A DEPS file was updated inside a gclient checkout, running gclient '
|
| 'sync.')
|
| - base_rev = 'BASE' if scm_type == 'svn' else 'HEAD'
|
| gclient_path = os.path.join(BASE_DIR, 'gclient')
|
| if sys.platform == 'win32':
|
| gclient_path += '.bat'
|
| with annotated_gclient.temp_filename(suffix='gclient') as f:
|
| cmd = [
|
| gclient_path, 'sync',
|
| - '--revision', base_rev,
|
| '--nohooks',
|
| '--delete_unversioned_trees',
|
| ]
|
| + if scm_type == 'svn':
|
| + cmd.extend(['--revision', 'BASE'])
|
| if options.revision_mapping:
|
| cmd.extend(['--output-json', f])
|
|
|
|
|