A proposal on solve encoding problem on Windows.
Pierre Asselin
pa at panix.com
Sat Oct 22 01:20:20 UTC 2011
???(Yonggang Luo) <luoyonggang at gmail.com> wrote:
> * The repository?s encoding configuration should be like this:
> {{{
> old_repository_encoding: such as ?ascii? ?cp1251? cp936 cp1252 utf8 and so
> on
> separator revision number: such as 128
One boundary revision is not enough. You can't guarantee that all
the old-encoding changesets come before the first new-encoding
changeset. Mercurial is distributed. Even in an all-Windows
environment, after multiple cloning-pulling-pushing between multiple
developers the changeset order will vary internally among the clones
--even after everybody syncs up.
I'm not sure you need a repository encoding though, except
possibly as a transitional measure.
--
pa at panix dot com
More information about the Mercurial
mailing list