comparison mercurial/repo.py @ 3930:01d98d68d697

Add revlog.LookupError exception, and use it instead of RevlogError. Remove repo.LookupError, which devolves to the revlog version.
author Brendan Cully <brendan@kublai.com>
date Mon, 18 Dec 2006 12:22:43 -0800
parents 5b7ed414affb
children 63b9d2deed48
comparison
equal deleted inserted replaced
3929:33988aaa1652 3930:01d98d68d697
5 # 5 #
6 # This software may be used and distributed according to the terms 6 # This software may be used and distributed according to the terms
7 # of the GNU General Public License, incorporated herein by reference. 7 # of the GNU General Public License, incorporated herein by reference.
8 8
9 class RepoError(Exception): 9 class RepoError(Exception):
10 pass
11
12 class LookupError(RepoError):
13 pass 10 pass
14 11
15 class repository(object): 12 class repository(object):
16 def capable(self, name): 13 def capable(self, name):
17 '''tell whether repo supports named capability. 14 '''tell whether repo supports named capability.