Ver código fonte

Stop appending 'p/' to review urls

Gerrit no longer requires 'p/', and this causes unexpected behavior.
In this change we stop appending 'p/' to the urls.

Change-Id: I72c13bf838f4112086141959fb1af249f9213ce6
Conley Owens 12 anos atrás
pai
commit
2cd38a0bf8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      git_config.py

+ 1 - 1
git_config.py

@@ -604,7 +604,7 @@ class Remote(object):
             # of HTML response back, like maybe a login page.
             #
             # Assume HTTP if SSH is not enabled or ssh_info doesn't look right.
-            self._review_url = http_url + 'p/'
+            self._review_url = http_url
           else:
             host, port = info.split()
             self._review_url = self._SshReviewUrl(userEmail, host, port)