##// END OF EJS Templates
hgwebdir: ignore hgrc parse errors while building the index page...
hgwebdir: ignore hgrc parse errors while building the index page An error in the .hg/hgrc file from a repository would prevent the following repos from being shown in the index page. The IOError handling was unnecessary - it's already handled in readconfig. This should fix issue731. The error in the .hg/hgrc file will still prevent the repo from being exported with hgweb.

File last commit:

r5066:167c422c default
r5332:b0bfe087 default
Show More
test-doctest.py
9 lines | 174 B | text/x-python | PythonLexer
import doctest
import mercurial.changelog
# test doctest from changelog
doctest.testmod(mercurial.changelog)
import mercurial.httprepo
doctest.testmod(mercurial.httprepo)