Mercurial > hg
diff hgext/win32mbcs.py @ 9275:8164d1abaa36
win32mbcs: wrap docstrings at 70 characters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 26 Jul 2009 02:03:00 +0200 |
parents | 9b2649b6ce5c |
children | 2705e6816d33 |
line wrap: on
line diff
--- a/hgext/win32mbcs.py Sun Jul 26 02:02:10 2009 +0200 +++ b/hgext/win32mbcs.py Sun Jul 26 02:03:00 2009 +0200 @@ -11,11 +11,12 @@ '''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: @@ -32,10 +33,12 @@ 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, sys