Mercurial > public > mercurial-scm > hg-stable
diff mercurial/error.py @ 29536:b17a6e3cd2ac
shelve: make unshelve be able to abort in any case
author | Kostia Balytskyi <ikostia@fb.com> |
---|---|
date | Wed, 13 Jul 2016 16:16:18 +0100 |
parents | 19205a0e2bf1 |
children | 318a24b52eeb |
line wrap: on
line diff
--- a/mercurial/error.py Wed Jul 13 10:39:33 2016 -0400 +++ b/mercurial/error.py Wed Jul 13 16:16:18 2016 +0100 @@ -240,3 +240,6 @@ class UnsupportedBundleSpecification(Exception): """error raised when a bundle specification is not supported.""" + +class CorruptedState(Exception): + """error raised when a command is not able to read its state from file"""