Mercurial > hg-stable
changeset 9077:22a33e207a7d
win32mbcs: wrapped docstrings at 78 characters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 07 Jul 2009 23:54:42 +0200 |
parents | 3f505d4bfee0 |
children | 4e04eabc19d2 |
files | hgext/win32mbcs.py |
diffstat | 1 files changed, 8 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/win32mbcs.py Tue Jul 07 23:54:42 2009 +0200 +++ b/hgext/win32mbcs.py Tue Jul 07 23:54:42 2009 +0200 @@ -11,12 +11,11 @@ '''allow the use of MBCS paths with problematic encodings -Some MBCS encodings are not good for some path operations (i.e. -splitting path, case conversion, etc.) with its encoded bytes. We call -such a encoding (i.e. shift_jis and big5) as "problematic encoding". -This extension can be used to fix the issue with those encodings by -wrapping some functions to convert to Unicode string before path -operation. +Some MBCS encodings are not good for some path operations (i.e. splitting +path, case conversion, etc.) with its encoded bytes. We call such a encoding +(i.e. shift_jis and big5) as "problematic encoding". This extension can be +used to fix the issue with those encodings by wrapping some functions to +convert to Unicode string before path operation. This extension is useful for: * Japanese Windows users using shift_jis encoding. @@ -30,12 +29,10 @@ Note that there are some limitations on using this extension: * You should use single encoding in one repository. - * You should set same encoding for the repository by locale or - HGENCODING. + * You should set same encoding for the repository by locale or HGENCODING. -Path encoding conversion are done between Unicode and -encoding.encoding which is decided by Mercurial from current locale -setting or HGENCODING. +Path encoding conversion are done between Unicode and encoding.encoding which +is decided by Mercurial from current locale setting or HGENCODING. ''' import os