[PATCH 08 of 11] comments: fix minor spelling issues found with spell checker

Simon Heimberg simohe at besonet.ch
Thu Feb 20 05:32:23 CST 2014


On 2014-02-20 02:43, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1392860341 -3600
> #      Thu Feb 20 02:39:01 2014 +0100
> # Node ID a03c3f91bc52bad6796d83c9a723e64f74f8e9fa
> # Parent  7e1fd5d7a88af2608ae0a9a5ed8b7940036ebd0f
> comments: fix minor spelling issues found with spell checker
>

What spell checker are you using? Does it only check strings and 
comments? I'd like one too.

> diff --git a/mercurial/minirst.py b/mercurial/minirst.py
> --- a/mercurial/minirst.py
> +++ b/mercurial/minirst.py
> @@ -109,7 +109,7 @@ def findliteralblocks(blocks):
>               elif len(blocks[i]['lines']) == 1 and \
>                    blocks[i]['lines'][0].lstrip(' ').startswith('.. ') and \
>                    blocks[i]['lines'][0].find(' ', 3) == -1:
> -                # directive on its onw line, not a literal block
> +                # directive on its own line, not a literal block

This is mine... I would like to avoid this in the feature.

>                   i += 1
>                   continue
<snip>


More information about the Mercurial-devel mailing list