hg webdir gives empty raw files
David Demelier
demelier.david at gmail.com
Sat Jan 5 11:16:02 UTC 2013
On 01/01/2013 12:30, Simon King wrote:
> On 1 Jan 2013, at 11:01, David Demelier <demelier.david at gmail.com> wrote:
>
>> On 18/12/2012 19:35, David Demelier wrote:
>>> 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
>>
>> No one knows? Or it's more a WEB server problem?
>>
>
> Some things to try:
>
> a) Does it work if you use "hg serve"?
>
> b) Does it work if you use wget or curl instead of a web browser?
>
No the file is still empty.
> c) Do your web server logs say anything about the size of the response?
>
There is no error and nothing much about size only
109.217.214.81 hg.malikania.fr - [05/Jan/2013:12:14:24 +0100] "GET
/cmake-modules/file/c072966dabb0/FindSDL_gfx.cmake HTTP/1.1" 200 0 "-"
"Wget/1.13.4 (freebsd9.1)"
> Simon
>
Cheers,
More information about the Mercurial
mailing list