diff mercurial/error.py @ 23015:21c44c1aed87

repoview: add a FilteredLookupError class This exception is a more precise LookupError that will allow us to issue a special message when we end up accessing a filtered revision.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 16 Oct 2014 02:05:06 -0700
parents f00813325c5a
children 2bd51e61c65e
line wrap: on
line diff
--- a/mercurial/error.py	Wed Oct 15 17:02:44 2014 -0700
+++ b/mercurial/error.py	Thu Oct 16 02:05:06 2014 -0700
@@ -30,6 +30,9 @@
     def __str__(self):
         return RevlogError.__str__(self)
 
+class FilteredLookupError(LookupError):
+    pass
+
 class ManifestLookupError(LookupError):
     pass