Index: gclient.py |
diff --git a/gclient.py b/gclient.py |
index 3569f8ebed154d6e4ddb54ac65393c7e5b6a6de8..5351b4782db25feca2c961cbf9b0ff7e62aebd2f 100755 |
--- a/gclient.py |
+++ b/gclient.py |
@@ -375,6 +375,11 @@ class Dependency(gclient_utils.WorkItem, DependencySettings): |
# It will be a dictionary of {deps_name: {"deps_file": depfile_name}} or |
# None. |
self.recursedeps = None |
+ # This is inherited from WorkItem. We want the URL to be a resource. |
+ if url: |
+ url_segments = url.split('@') |
Sergey Berezin
2016/06/08 01:28:36
I'm not sure I understand this part - what's the "
hinoka
2016/06/08 18:38:46
Added comment.
|
+ if url_segments > 0: |
+ self.resources.append(url_segments[0]) |
if not self.name and self.parent: |
raise gclient_utils.Error('Dependency without name') |