mirror of
				https://github.com/Dev-Wiki/git-repo.git
				synced 2025-11-04 10:19:08 +08:00 
			
		
		
		
	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
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user