| Index: git_auto_svn.py
|
| diff --git a/git_auto_svn.py b/git_auto_svn.py
|
| index 4faa9a0d5c2bc3133e67260bddbe648384aa1b32..8aed18f6d6eb876b616ba6e235f5efdbfc6f58f8 100755
|
| --- a/git_auto_svn.py
|
| +++ b/git_auto_svn.py
|
| @@ -78,7 +78,13 @@ def main(argv):
|
| svn_repo = maybe_repo
|
| svn_path = '/'.join(path_components[i+1:])
|
| break
|
| - except subprocess2.CalledProcessError:
|
| + except subprocess2.CalledProcessError, e:
|
| + if 'E170001' in str(e):
|
| + print 'Authentication failed:'
|
| + print e
|
| + print ('Try running "svn ls %s" with the password'
|
| + ' from https://chromium-access.appspot.com' % maybe_repo)
|
| + print
|
| continue
|
| assert svn_repo is not None, 'Unable to find svn repo for %s' % match.group(1)
|
| print 'Found upstream svn repo %s and path %s' % (svn_repo, svn_path)
|
|
|