Commit 8b8f872d authored by Oleh Prypin's avatar Oleh Prypin Committed by Commit Bot

Migrate autoroller from roll-dep-svn to gclient setdep

Bug: webrtc:9104
No-Try: True
Change-Id: I3860b0f7b07fa5110a0bc552965c49801c7a3acd
Reviewed-on: https://chromium-review.googlesource.com/1005002
Commit-Queue: Oleh Prypin <oprypin@chromium.org>
Reviewed-by: 's avatarPatrik Höglund <phoglund@chromium.org>
parent a9626b9d
......@@ -345,11 +345,9 @@ def UpdateDepsFile(deps_filename, old_cr_revision, new_cr_revision,
'contains all platforms in the target_os list, i.e.\n'
'target_os = ["android", "unix", "mac", "ios", "win"];\n'
'Then run "gclient sync" again.' % local_dep_dir)
_, stderr = _RunCommand(
['roll-dep-svn', '--no-verify-revision', dep.path, dep.new_rev],
working_dir=CHECKOUT_SRC_DIR, ignore_exit_code=True)
if stderr:
logging.warning('roll-dep-svn: %s', stderr)
_RunCommand(
['gclient', 'setdep', '--revision', '%s@%s' % (dep.path, dep.new_rev)],
working_dir=CHECKOUT_SRC_DIR)
def _IsTreeClean():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment