mercurial/repo.py
changeset 3216 5b7ed414affb
parent 2858 345bac2bc4ec
child 3930 01d98d68d697
equal deleted inserted replaced
3215:53e843840349 3216:5b7ed414affb
     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):
    10     pass
    13     pass
    11 
    14 
    12 class repository(object):
    15 class repository(object):
    13     def capable(self, name):
    16     def capable(self, name):
    14         '''tell whether repo supports named capability.
    17         '''tell whether repo supports named capability.