hgext/__init__.py
author Mads Kiilerich <madski@unity3d.com>
Sun, 13 Mar 2016 02:06:22 +0100
changeset 28557 4b83507bfc91
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
cache: safer handling of failing seek when writing revision branch cache If the seek for some reason fails (perhaps because the file is too short to search to the requested position), make sure we seek to the start and rewrite everything. It is unknown if this fixes a real problem that ever happened.

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)