comparison mercurial/help.py @ 41708:d20f1594ff4a

url: always access req._tunnel_host The getattr() was there to handle Python versions before 2.6, which lacked this attribute. We /might/ be able to further delete some code here. However, the behavior here is extremely hard to follow because large parts of this code duplicate code from the Python standard library and it is difficult to understand what is actually needed. Differential Revision: https://phab.mercurial-scm.org/D5950
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 12 Feb 2019 12:13:56 -0800
parents d0c86a7447a6
children 3e47d1ec9da5
comparison
equal deleted inserted replaced
41707:140b542b0e59 41708:d20f1594ff4a