Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/repo.py @ 3216:5b7ed414affb
Add hg.LookupError
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sun, 01 Oct 2006 11:58:55 -0700 |
parents | 345bac2bc4ec |
children | 01d98d68d697 |
comparison
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. |