This is an archive of the discontinued Mercurial Phabricator instance.

i18n: cache translated messages per encoding
ClosedPublic

Authored by yuja on Oct 13 2017, 8:56 AM.

Details

Summary

This is a simpler workaround alternative to D958, "i18n: clean msgcache when
encoding changes." The cache won't be bloated unless you run tons of commands
with different --encoding options on command server, or serve many repositories
of different web.encoding options on hgweb.

The test was originally written by Jun Wu.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuja created this revision.Oct 13 2017, 8:56 AM
quark accepted this revision.Oct 13 2017, 1:04 PM
quark added a subscriber: quark.

I like this approach. Thanks!

ryanmce accepted this revision.Oct 13 2017, 1:24 PM
ryanmce added a subscriber: ryanmce.

queued

This revision is now accepted and ready to land.Oct 13 2017, 1:24 PM
This revision was automatically updated to reflect the committed changes.