changeset 23016:2bd51e61c65e

repoview: add a FilteredRepoLookupError This exception is a more precise RepoLookupError 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:06:12 -0700
parents 21c44c1aed87
children dc25ed84bee8
files mercurial/error.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/error.py	Thu Oct 16 02:05:06 2014 -0700
+++ b/mercurial/error.py	Thu Oct 16 02:06:12 2014 -0700
@@ -65,6 +65,9 @@
 class RepoLookupError(RepoError):
     pass
 
+class FilteredRepoLookupError(RepoLookupError):
+    pass
+
 class CapabilityError(RepoError):
     pass