hgext/fastannotate/error.py
author Yuya Nishihara <yuya@tcha.org>
Sun, 05 Aug 2018 16:27:09 +0900
changeset 39395 5b1d406b39f1
parent 39238 1ddb296e0dee
child 43076 2372284d9457
permissions -rw-r--r--
templatekw: alias {name} of file copies dict to {path} For the same reason as the previous patch. We might want some hack to support {source.path}, {source.rev}, etc., but that's a different issue.

# Copyright 2016-present Facebook. All Rights Reserved.
#
# error: errors used in fastannotate
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from __future__ import absolute_import

class CorruptedFileError(Exception):
    pass

class CannotReuseError(Exception):
    """cannot reuse or update the cache incrementally"""