Migrate autoroller from roll-dep-svn to gclient setdep
No-Try: True Bug: webrtc:9104 Change-Id: I049231e24de1f789aad44c6639e43e291cee0854 Reviewed-on: https://webrtc-review.googlesource.com/66681 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22725}
This commit is contained in:
parent
57e216e62e
commit
f26abf827d
@ -354,11 +354,9 @@ def UpdateDepsFile(deps_filename, old_cr_revision, new_cr_revision,
|
|||||||
'platforms in the target_os list, i.e.\n'
|
'platforms in the target_os list, i.e.\n'
|
||||||
'target_os = ["android", "unix", "mac", "ios", "win"];\n'
|
'target_os = ["android", "unix", "mac", "ios", "win"];\n'
|
||||||
'Then run "gclient sync" again.' % local_dep_dir)
|
'Then run "gclient sync" again.' % local_dep_dir)
|
||||||
_, stderr = _RunCommand(
|
_RunCommand(
|
||||||
['roll-dep-svn', '--no-verify-revision', dep.path, dep.new_rev],
|
['gclient', 'setdep', '--revision', '%s@%s' % (dep.path, dep.new_rev)],
|
||||||
working_dir=CHECKOUT_SRC_DIR, ignore_exit_code=True)
|
working_dir=CHECKOUT_SRC_DIR)
|
||||||
if stderr:
|
|
||||||
logging.warning('roll-dep-svn: %s', stderr)
|
|
||||||
|
|
||||||
|
|
||||||
def _IsTreeClean():
|
def _IsTreeClean():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user