hgext/fastannotate/error.py
author Manuel Jacob <me@manueljacob.de>
Sat, 13 Apr 2019 03:44:47 +0200
changeset 50480 afb27fc92717
parent 48966 6000f5b25c9b
permissions -rw-r--r--
hidden: support passing --hidden with `serve --stdio` This currently has no effect since the server code will filter the repository again. However, it is clearer to put this change in its own changeset. This will mostly impact ssh peers, clients being now able to pass --hidden when spawning the server. See the next changeset for details on how this is going to be used.

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


class CorruptedFileError(Exception):
    pass


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