Patchwork [4,of,5] help/config: reword committemplate multibyte character text

login
register
mail settings
Submitter timeless@mozdev.org
Date Sept. 18, 2015, 11:40 a.m.
Message ID <165f4d8060e3348ffd0f.1442576422@waste.org>
Download mbox | patch
Permalink /patch/10548/
State Accepted
Headers show

Comments

timeless@mozdev.org - Sept. 18, 2015, 11:40 a.m.
# HG changeset patch
# User timeless@mozdev.org
# Date 1441359637 14400
#      Fri Sep 04 05:40:37 2015 -0400
# Node ID 165f4d8060e3348ffd0fae05836d3bbe2fa16af7
# Parent  f39e0674fce8d1578e295fd56cff97a82e4d9f6e
help/config: reword committemplate multibyte character text
Christian Ebert - Sept. 18, 2015, 11:38 p.m.
* timeless@mozdev.org on Friday, September 18, 2015 at 06:40:22 -0500
> # HG changeset patch
> # User timeless@mozdev.org
> # Date 1441359637 14400
> #      Fri Sep 04 05:40:37 2015 -0400
> # Node ID 165f4d8060e3348ffd0fae05836d3bbe2fa16af7
> # Parent  f39e0674fce8d1578e295fd56cff97a82e4d9f6e
> help/config: reword committemplate multibyte character text
> 
> diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
> --- a/mercurial/help/config.txt
> +++ b/mercurial/help/config.txt
> @@ -392,9 +392,9 @@
>    detail), this customization should be configured carefully, to
>    avoid showing broken characters.
> 
> -   For example, if multibyte character ending with backslash (0x5c) is
> -   followed by ASCII character 'n' in the customized template,
> -   sequence of backslash and 'n' is treated as line-feed unexpectedly
> +   For example, if a multibyte character ending with backslash (0x5c) is
> +   followed by the ASCII character 'n' in the customized template,
> +   the sequence of backslash and 'n' is treated as line-feed unexpectedly
>    (and multibyte character is broken, too).

(and the multibyte character is broken, too).

As it refers to _a_ multibyte character corrected 3 lines above?
Pierre-Yves David - Sept. 19, 2015, 12:02 a.m.
On 09/18/2015 04:38 PM, Christian Ebert wrote:
> * timeless@mozdev.org on Friday, September 18, 2015 at 06:40:22 -0500
>> # HG changeset patch
>> # User timeless@mozdev.org
>> # Date 1441359637 14400
>> #      Fri Sep 04 05:40:37 2015 -0400
>> # Node ID 165f4d8060e3348ffd0fae05836d3bbe2fa16af7
>> # Parent  f39e0674fce8d1578e295fd56cff97a82e4d9f6e
>> help/config: reword committemplate multibyte character text
>>
>> diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
>> --- a/mercurial/help/config.txt
>> +++ b/mercurial/help/config.txt
>> @@ -392,9 +392,9 @@
>>     detail), this customization should be configured carefully, to
>>     avoid showing broken characters.
>>
>> -   For example, if multibyte character ending with backslash (0x5c) is
>> -   followed by ASCII character 'n' in the customized template,
>> -   sequence of backslash and 'n' is treated as line-feed unexpectedly
>> +   For example, if a multibyte character ending with backslash (0x5c) is
>> +   followed by the ASCII character 'n' in the customized template,
>> +   the sequence of backslash and 'n' is treated as line-feed unexpectedly
>>     (and multibyte character is broken, too).
>
> (and the multibyte character is broken, too).
>
> As it refers to _a_ multibyte character corrected 3 lines above?

Fixed in the clowncopter, thanks.

Patch

diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -392,9 +392,9 @@ 
    detail), this customization should be configured carefully, to
    avoid showing broken characters.
 
-   For example, if multibyte character ending with backslash (0x5c) is
-   followed by ASCII character 'n' in the customized template,
-   sequence of backslash and 'n' is treated as line-feed unexpectedly
+   For example, if a multibyte character ending with backslash (0x5c) is
+   followed by the ASCII character 'n' in the customized template,
+   the sequence of backslash and 'n' is treated as line-feed unexpectedly
    (and multibyte character is broken, too).
 
 Customized template is used for commands below (``--edit`` may be