hgext/fastannotate/error.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 16 Dec 2020 09:42:04 +0100
changeset 46576 f8bdc8329d77
parent 43076 2372284d9457
child 48875 6000f5b25c9b
permissions -rw-r--r--
copies-rust: use matching to select the final copies information This is a bit more idiomatic and this prepare a future refactoring where InternalCopies from both parent would be updated at the same time. Differential Revision: https://phab.mercurial-scm.org/D9647

# 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"""