equal
deleted
inserted
replaced
1 # error.py - Mercurial exceptions |
1 # error.py - Mercurial exceptions |
2 # |
|
3 # This allows us to catch exceptions at higher levels without forcing imports |
|
4 # |
2 # |
5 # Copyright 2005-2008 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2005-2008 Matt Mackall <mpm@selenic.com> |
6 # |
4 # |
7 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
8 # GNU General Public License version 2, incorporated herein by reference. |
6 # GNU General Public License version 2, incorporated herein by reference. |
|
7 |
|
8 """Mercurial exceptions. |
|
9 |
|
10 This allows us to catch exceptions at higher levels without forcing |
|
11 imports. |
|
12 """ |
9 |
13 |
10 # Do not import anything here, please |
14 # Do not import anything here, please |
11 |
15 |
12 class RevlogError(Exception): |
16 class RevlogError(Exception): |
13 pass |
17 pass |