Features in Mercurial 1.6
Dmitry Nezhevenko
dion at inhex.net
Thu Jun 17 20:15:39 UTC 2010
On Thu, Jun 17, 2010 at 02:16:06PM +0900, 박경국 wrote:
> Regarding this encoding issue, I have a small request for 'hg convert'
> extension.
> As everyone knows here, SVN uses UTF-8 names when storing files even though
> the working environment is not in UTF-8 such as Windows.
>
> But when converting an SVN repo to a Mercuial repo using 'hg convert',
> there is no way to specify an encoding of the destination repo.
>
> For example, if you have an SVN repo in Korean Windows and
> the file names in it are non-ASCII, there is no way to convert it to
> a Mercurial repo with Korean encoding because the SVN repo stores
> file names in UTF-8 even in Korean Windows.
>
> I could manage to fix convert/subversion.py a bit to perform this operation,
> but I hope 'hg convert' officially support this function for people working in
> non-ASCII environment.
Since hg doesn't care about encodings, you can just set correct locale you
want on *nix before calling hg. But users of other locales will be unable
to read filenames even if their preferred encoding supports all
characters.. Yes, I know that this is annoying, but for now hg can't
provide better solution...
--
WBR, Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100617/dcc6af89/attachment.asc>
More information about the Mercurial
mailing list