| Index: gclient.py
 | 
| diff --git a/gclient.py b/gclient.py
 | 
| index 3569f8ebed154d6e4ddb54ac65393c7e5b6a6de8..9b6a3c0a25bff96acb7163f76c3cacbc295615a2 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 and isinstance(url, basestring):
 | 
| +      # The url is usually given to gclient either as https://blah@123
 | 
| +      # or just https://blah.  The @123 portion is irrelevent.
 | 
| +      self.resources.append(url.split('@')[0])
 | 
|  
 | 
|      if not self.name and self.parent:
 | 
|        raise gclient_utils.Error('Dependency without name')
 | 
| 
 |