Menu

Commit [r10490]  Maximize  Restore  History

TracMercurial for 0.12: introduce an `[hg] encoding` setting for specifying the default encoding to use for the repository.

This can actually be a list of encoding, in case a variety of encodings where used for filenames (or content) in the same repository (see #9631).

Example:
{{{
[hg] encoding = utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936
}}}

In this changeset, we use it only in a secondary way for retrieving the filesystem path of the Mercurial repository.

cboos 2011-01-26

changed /plugins/0.12/mercurial-plugin/setup.py
changed /plugins/0.12/mercurial-plugin/tracext/hg/backend.py
/plugins/0.12/mercurial-plugin/setup.py Diff Switch to side-by-side view
Loading...
/plugins/0.12/mercurial-plugin/tracext/hg/backend.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB