summaryrefslogtreecommitdiffstats
path: root/git_config.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2014-02-04 15:32:29 -0800
committerConley Owens <cco3@android.com>2014-02-04 15:32:29 -0800
commit2cd38a0bf83cc7c7cc5eb59dffc3d7868cf6d452 (patch)
tree4f66b6832b19d1998d994fae2a65af1203e45477 /git_config.py
parent1b46cc9b6d366a34a37dd475730574979ff9b739 (diff)
downloadgit-repo-2cd38a0bf83cc7c7cc5eb59dffc3d7868cf6d452.tar.gz
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
Diffstat (limited to 'git_config.py')
-rw-r--r--git_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_config.py b/git_config.py
index af09ebae..32879ec7 100644
--- a/git_config.py
+++ b/git_config.py
@@ -604,7 +604,7 @@ class Remote(object):
604 # of HTML response back, like maybe a login page. 604 # of HTML response back, like maybe a login page.
605 # 605 #
606 # Assume HTTP if SSH is not enabled or ssh_info doesn't look right. 606 # Assume HTTP if SSH is not enabled or ssh_info doesn't look right.
607 self._review_url = http_url + 'p/' 607 self._review_url = http_url
608 else: 608 else:
609 host, port = info.split() 609 host, port = info.split()
610 self._review_url = self._SshReviewUrl(userEmail, host, port) 610 self._review_url = self._SshReviewUrl(userEmail, host, port)