Chromium Code Reviews| Index: scm.py |
| diff --git a/scm.py b/scm.py |
| index 533716d63e50e7e8e6fdc24a51d2089a747e2e5c..c06049cd73b060377f76281e16371ab848a28bfb 100644 |
| --- a/scm.py |
| +++ b/scm.py |
| @@ -662,6 +662,7 @@ class SVN(object): |
| The directory is returned as an absolute path. |
| """ |
| + directory = os.path.abspath(directory) |
| infos = SVN.CaptureInfo(directory, print_error=False) |
| cur_dir_repo_root = infos.get("Repository Root") |
| if not cur_dir_repo_root: |