hgext3rd/__init__.py
author Cédric Krier <ced@b2ck.com>
Sun, 02 Aug 2020 17:40:35 +0200
branchstable
changeset 45207 49f8ba4febec
parent 43076 2372284d9457
child 48966 6000f5b25c9b
permissions -rw-r--r--
keepalive: Do not append _rbuf if _raw_readinto exists (issue6356) The readline method append to the chunks the content of the _rbuf then there is a loop that call _raw_read which on Python3 call readinto. But the readinto version in mercurial append again the _rbuf content. So this creates the duplicate content. This does not happen in Python2 because _raw_read does not call readinto. Differential Revision: https://phab.mercurial-scm.org/D8859

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)