From 4092d6fb052bbaee742606db73339c56afcf2083 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Wed, 6 Feb 2019 10:06:12 +0100 Subject: [PATCH] Fix autoroller to skip entries without @revision in them The problem started with https://chromium-review.googlesource.com/1407489 No-Try: True Bug: None Change-Id: Iaa8b6f0101404890ac44cca559168279807c94c8 Reviewed-on: https://webrtc-review.googlesource.com/c/121620 Reviewed-by: Artem Titarenko Commit-Queue: Oleh Prypin Cr-Commit-Position: refs/heads/master@{#26568} --- tools_webrtc/autoroller/roll_deps.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools_webrtc/autoroller/roll_deps.py b/tools_webrtc/autoroller/roll_deps.py index 6a8e082900..45a3a94180 100755 --- a/tools_webrtc/autoroller/roll_deps.py +++ b/tools_webrtc/autoroller/roll_deps.py @@ -247,6 +247,8 @@ def BuildDepsentryDict(deps_dict): if dep.get('dep_type') == 'cipd': result[path] = CipdDepsEntry(path, dep['packages']) else: + if '@' not in dep['url']: + continue url, revision = dep['url'].split('@') result[path] = DepsEntry(path, url, revision)