Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
8893:cc0593af30d4 | 8894:868670dbc237 |
---|---|
7 # | 7 # |
8 # This software may be used and distributed according to the terms of the | 8 # This software may be used and distributed according to the terms of the |
9 # GNU General Public License version 2, incorporated herein by reference. | 9 # GNU General Public License version 2, incorporated herein by reference. |
10 # | 10 # |
11 | 11 |
12 """allow to use MBCS path with problematic encoding. | 12 '''allow the use of MBCS paths with problematic encoding |
13 | 13 |
14 Some MBCS encodings are not good for some path operations (i.e. | 14 Some MBCS encodings are not good for some path operations (i.e. |
15 splitting path, case conversion, etc.) with its encoded bytes. We call | 15 splitting path, case conversion, etc.) with its encoded bytes. We call |
16 such a encoding (i.e. shift_jis and big5) as "problematic encoding". | 16 such a encoding (i.e. shift_jis and big5) as "problematic encoding". |
17 This extension can be used to fix the issue with those encodings by | 17 This extension can be used to fix the issue with those encodings by |
34 HGENCODING. | 34 HGENCODING. |
35 | 35 |
36 Path encoding conversion are done between Unicode and | 36 Path encoding conversion are done between Unicode and |
37 encoding.encoding which is decided by Mercurial from current locale | 37 encoding.encoding which is decided by Mercurial from current locale |
38 setting or HGENCODING. | 38 setting or HGENCODING. |
39 | 39 ''' |
40 """ | |
41 | 40 |
42 import os | 41 import os |
43 from mercurial.i18n import _ | 42 from mercurial.i18n import _ |
44 from mercurial import util, encoding | 43 from mercurial import util, encoding |
45 | 44 |