Mercurial > hg
view hgext/fastannotate/error.py @ 51188:1ef4a36a934d
rust-index: add an abstraction to support bytes added at runtimes
In order to support appending data to the Rust index, we need to abstract
data access away from the immutable (on-disk) bytes, to seemlessly fetch
either from the preexisting data or from the newly added data.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 26 Jun 2023 19:16:07 +0200 |
parents | 6000f5b25c9b |
children | f4733654f144 |
line wrap: on
line source
# 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"""