Mercurial > hg
diff hgext/win32mbcs.py @ 8894:868670dbc237
extensions: improve the consistency of synopses
Trying as much as possible to consistently:
- use a present tense predicate followed by a direct object
- verb referring directly to the functionality provided
(ie. not "add command that does this" but simple "do that")
- keep simple and to the point, leaving details for the long help
(width is tight, possibly even more so for translations)
Thanks to timeless, Martin Geisler, Rafael Villar Burke, Dan Villiom
Podlaski Christiansen and others for the helpful suggestions.
author | Cédric Duval <cedricduval@free.fr> |
---|---|
date | Mon, 22 Jun 2009 15:48:08 +0200 |
parents | 87c30fb7e8df |
children | f87884329419 |
line wrap: on
line diff
--- a/hgext/win32mbcs.py Mon Jun 22 14:49:07 2009 +0200 +++ b/hgext/win32mbcs.py Mon Jun 22 15:48:08 2009 +0200 @@ -9,7 +9,7 @@ # GNU General Public License version 2, incorporated herein by reference. # -"""allow to use MBCS path with problematic encoding. +'''allow the use of MBCS paths with problematic encoding Some MBCS encodings are not good for some path operations (i.e. splitting path, case conversion, etc.) with its encoded bytes. We call @@ -36,8 +36,7 @@ Path encoding conversion are done between Unicode and encoding.encoding which is decided by Mercurial from current locale setting or HGENCODING. - -""" +''' import os from mercurial.i18n import _