hgweb のファイル名の文字コード

普段はまず使わない日本語ファイル名の入った hg リポ、今すぐ捨てるのもったいないから、そういえば、hgweb ってどうなっているか試す。

windows の トータスhg の hg で "hg serve" で起動。当然化ける。

次に、このようにしてみる。

[web]
encoding=Shift_JIS

あら、表示された。
apache かましたらどうなるんでしょうね?

[issue2177] web.encoding in per repository hgrc in hgwebdir is used for all repositories - flod - com.selenic.mercurial-devel - MarkMail