diff -r bf17aeafb869 -r 0289f384e1e5 mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py Tue Jun 09 09:25:31 2009 -0400 +++ b/mercurial/hgweb/common.py Tue Jun 09 09:25:17 2009 -0400 @@ -71,7 +71,7 @@ req.respond(HTTP_OK, ct, length = os.path.getsize(path)) return file(path, 'rb').read() except TypeError: - raise ErrorResponse(HTTP_SERVER_ERROR, 'illegal file name') + raise ErrorResponse(HTTP_SERVER_ERROR, 'illegal filename') except OSError, err: if err.errno == errno.ENOENT: raise ErrorResponse(HTTP_NOT_FOUND)