| Index: gcl.py
|
| diff --git a/gcl.py b/gcl.py
|
| index d8c09afa91d4f272b217dcf84ed9730a8e63f9ac..2911b1212b5ce382e4026b583e91cf5399947d3c 100755
|
| --- a/gcl.py
|
| +++ b/gcl.py
|
| @@ -101,8 +101,8 @@ def GetRepositoryRoot():
|
| repository_root = os.getcwd()
|
| while True:
|
| parent = os.path.dirname(repository_root)
|
| - if (gclient.CaptureSVNInfo(parent).get("Repository Root") !=
|
| - cur_dir_repo_root):
|
| + if (gclient.CaptureSVNInfo(parent, print_error=False).get(
|
| + "Repository Root") != cur_dir_repo_root):
|
| break
|
| repository_root = parent
|
| return repository_root
|
|
|