##// END OF EJS Templates
global: replace most uses of RevlogError with StorageError (API)...
global: replace most uses of RevlogError with StorageError (API) When catching errors in storage, we should be catching StorageError instead of RevlogError. When throwing errors related to storage, we shouldn't be using RevlogError unless we know the error stemmed from revlogs. And we only reliably know that if we're in revlog.py or are inheriting from a type defined in revlog.py. Differential Revision: https://phab.mercurial-scm.org/D4655

File last commit:

r37231:3bc609bc default
r39813:b63dee7b default
Show More
__init__.py
10 lines | 141 B | text/x-python | PythonLexer
Gregory Szorc
cbor: import CBORDecoder and CBOREncoder...
r37231 from .cbor2 import (
CBORDecodeError,
CBORDecoder,
CBOREncodeError,
CBOREncoder,
dump,
dumps,
load,
loads,
)