highlight: fixes garbled text in non-UTF-8 environment

Yuya Nishihara youjah at gmail.com
Sat Sep 5 21:05:21 CDT 2009


Christian Ebert wrote:
> Right. Now I wonder why highlighting worked with 57157a224037
> before 799373ff2554 was applied? Why does highlight need extsetup
> with your patch?

I don't know how your revision graph looks, but at least, for me,
57157a224037 is the first bad revision.
Then 799373ff2554 is good because it's from another head, crew-stable,
and the next revision, 6cfea6e4c892, is bad due to merged with crew.

According to Martin's investigation, the problem lies on hgweb.
>Yes, extensions are not loaded explicitly when hgweb is run, they are
>only loaded indirectly:
>
>  hgwebdir_mod use hg.repository
>    hg.repository create a localrepository
>      localrepository calls extensions.loadall
>        extensions.loadall runs uisetup
>    hg.repository runs reposetup

Yuya


More information about the Mercurial-devel mailing list