hgext/win32mbcs.py
changeset 10067 fd6729805f44
parent 10050 dd37f044f1fa
child 10264 d6512b3e9ac0
equal deleted inserted replaced
10066:788e7d04c594 10067:fd6729805f44
    33 Note that there are some limitations on using this extension:
    33 Note that there are some limitations on using this extension:
    34 
    34 
    35 - You should use single encoding in one repository.
    35 - You should use single encoding in one repository.
    36 
    36 
    37 
    37 
    38 By default, win32mbcs uses encoding.encoding decided by mercurial.
    38 By default, win32mbcs uses encoding.encoding decided by Mercurial.
    39 You can specify the encoding by config option.
    39 You can specify the encoding by config option::
    40 
    40 
    41  ex.)
       
    42  [win32mbcs]
    41  [win32mbcs]
    43  encoding = sjis
    42  encoding = sjis
    44 
    43 
    45 It is usefull for the users who want to commit with utf-8 log message.
    44 It is useful for the users who want to commit with UTF-8 log message.
    46 
       
    47 '''
    45 '''
    48 
    46 
    49 import os, sys
    47 import os, sys
    50 from mercurial.i18n import _
    48 from mercurial.i18n import _
    51 from mercurial import util, encoding
    49 from mercurial import util, encoding