| Index: gclient_scm.py
|
| diff --git a/gclient_scm.py b/gclient_scm.py
|
| index aba1f3e978570993431edc2aa7fce081283589f7..e2a0bdd6598a67b68c9169b7c5e68f196ccee1fd 100644
|
| --- a/gclient_scm.py
|
| +++ b/gclient_scm.py
|
| @@ -779,6 +779,12 @@ class SVNWrapper(SCMWrapper):
|
| ('Can\'t update/checkout %s if an unversioned directory is present. '
|
| 'Delete the directory and try again.') % self.checkout_path)
|
|
|
| + if 'URL' not in from_info:
|
| + raise gclient_utils.Error(
|
| + ('gclient is confused. Couldn\'t get the url for %s.\n'
|
| + 'Try using @unmanaged.\n%s') % (
|
| + self.checkout_path, from_info))
|
| +
|
| # Look for locked directories.
|
| dir_info = scm.SVN.CaptureStatus(os.path.join(self.checkout_path, '.'))
|
| if any(d[0][2] == 'L' for d in dir_info):
|
|
|