commit | 7e12e0a2faf5e572a196e90581c1215cc8dc7551 | [log] [tgz] |
---|---|---|
author | Conley Owens <cco3@android.com> | Thu Oct 23 15:40:00 2014 -0700 |
committer | Conley Owens <cco3@android.com> | Thu Oct 23 15:42:09 2014 -0700 |
tree | c0f4a17db28de2a11e79648ab911f464ca2a4951 | |
parent | 7893b85509c1165d11ad951261aa9f49deb09eea [diff] |
Support persistent-http(s) review urls Change-Id: I8e0065685c968dfa9dc26bcdb6ee2fa14019c509
diff --git a/git_config.py b/git_config.py index b4145e8..e789be2 100644 --- a/git_config.py +++ b/git_config.py
@@ -566,6 +566,8 @@ return None u = self.review + if u.startswith('persistent-'): + u = u[len('persistent-'):] if u.split(':')[0] not in ('http', 'https', 'sso'): u = 'http://%s' % u if u.endswith('/Gerrit'):