hg webdir gives empty raw files

David Demelier demelier.david at gmail.com
Tue Dec 18 18:35:36 UTC 2012


Hello,

I've updated mercurial to 2.4, and now my hg repositories does not 
output the raw files anymore. I can still use the full hg web interface 
but no for raw files.

See :

http://hg.malikania.fr/cmake-modules/file/c072966dabb0

When clicking on the file I've noticed that firefox complains about :

Timestamp: 18/12/2012 19:34:11
Error: The character encoding of the plain text document was not 
declared. The document will render with garbled text in some browser 
configurations if the document contains characters from outside the 
US-ASCII range. The character encoding of the file needs to be declared 
in the transfer protocol or file needs to use a byte order mark as an 
encoding signature.
Source File: 
http://hg.malikania.fr/cmake-modules/file/c072966dabb0/FindSDL_gfx.cmake
Line: 0

Maybe this is a related issue?

My repositories were made with an old version of mercurial (probably 2.0 
or earlier). This is happening with lighttpd.

Cheers,

David



More information about the Mercurial mailing list