hgencoding=utf-8 hg addremove lost some file
Shun-ichi GOTO
shunichi.goto at gmail.com
Mon Dec 7 09:05:46 UTC 2009
2009/11/25 Yaocl <chunlinyao at gmail.com>:
> I have some file can be added by `hg addremove ` but not `hg
> --encoding utf-8 addremove`.
>
> 機能拡張.sql
>
> the other file is ok.
> 重複レコード削除.sql
> 項目別評価.sql
I guess you are using win32mbcs, and the behaviour is a limitation
of win32mbcs: "message encoding and filename encoding should
be same" because win32mbcs use encoding.encoding value which
is also used by message encoding.
So I update win32mbcs (attached) to add new configuration value
which can specify the encoding for filename used by win32mbcs.
In your case, add following setting in your .hgrc
[win32mbcs]
encoding=sjis
I think you will success to commit with --encoding=utf-8 option and
utf-8 log message.
Please try it and report the result.
--
Shun-ichi GOTO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32mbcs.py
Type: application/octet-stream
Size: 5331 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20091207/98e1c69a/attachment.obj>
More information about the Mercurial-devel
mailing list