annotate mercurial/repo.py @ 1473:7d66ce9895fa
make readconfig take a filename instead of a file pointer as argument
catch parse error while reading a config file
add a testcase for parse error
author |
Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
date |
Thu, 27 Oct 2005 13:40:56 -0700 |
parents |
142b5d5ec9cc |
children |
|
rev |
line source |
1089
|
1 # repo.py - repository base classes for mercurial
|
|
2 #
|
|
3 # Copyright 2005 Matt Mackall <mpm@selenic.com>
|
|
4 #
|
|
5 # This software may be used and distributed according to the terms
|
|
6 # of the GNU General Public License, incorporated herein by reference.
|
|
7
|
|
8 class RepoError(Exception): pass
|