repoview: add a FilteredRepoLookupError
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 16 Oct 2014 02:06:12 -0700
changeset 23016 2bd51e61c65e
parent 23015 21c44c1aed87
child 23017 dc25ed84bee8
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.
mercurial/error.py
--- 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