comparison mercurial/minifileset.py @ 41719: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 e79a69af1593
children 57875cf423c9
comparison
equal deleted inserted replaced
41718:140b542b0e59 41719:d20f1594ff4a