mercurial/repo.py
changeset 3930 01d98d68d697
parent 3224 5b7ed414affb
child 4635 63b9d2deed48
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.