diff options
-rwxr-xr-x | repo | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,7 +2,10 @@ | |||
2 | 2 | ||
3 | ## repo default configuration | 3 | ## repo default configuration |
4 | ## | 4 | ## |
5 | REPO_URL = 'https://gerrit.googlesource.com/git-repo' | 5 | import os |
6 | REPO_URL = os.environ.get('REPO_URL', None) | ||
7 | if not REPO_URL: | ||
8 | REPO_URL = 'https://gerrit.googlesource.com/git-repo' | ||
6 | REPO_REV = 'stable' | 9 | REPO_REV = 'stable' |
7 | 10 | ||
8 | # Copyright (C) 2008 Google Inc. | 11 | # Copyright (C) 2008 Google Inc. |
@@ -114,7 +117,6 @@ GITC_FS_ROOT_DIR = '/gitc/manifest-rw/' | |||
114 | 117 | ||
115 | import errno | 118 | import errno |
116 | import optparse | 119 | import optparse |
117 | import os | ||
118 | import re | 120 | import re |
119 | import shutil | 121 | import shutil |
120 | import stat | 122 | import stat |