diff --git a/git_config.py b/git_config.py index b4145e8c..e789be2e 100644 --- a/git_config.py +++ b/git_config.py @@ -566,6 +566,8 @@ class Remote(object): 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'):