[issue194] Decoding output of diff and cat command
Shun-ichi Goto
mercurial-bugs at selenic.com
Fri Mar 31 12:26:42 UTC 2006
New submission from Shun-ichi Goto <shunichi.goto at gmail.com>:
I think the output of diff and cat command is better to be decoded
by filter mechanism because it includes file contents.
For example, I want to canonicalize into one character encoding in repository
from various japanese character sets (shift_jis, euc-jp, iso-2022-jp)
used in windows(shift_jis), unix(euc-jp) and others(iso-2022-jp).
In this case, filter works fine on checkout and commit,
but diff and cat outputs raw (encoded) text.
I feel it is natural they outputs decoded text.
Attached a sample patch for this.
----------
files: decoding-diff-and-cat.patch
messages: 893
nosy: gotoh
priority: wish
status: unread
title: Decoding output of diff and cat command
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue194>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: decoding-diff-and-cat.patch
Type: application/octet-stream
Size: 4066 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20060331/b6418b39/attachment-0001.obj>
More information about the Mercurial
mailing list