[PATCH] spelling: fixes of non-dictionary words

Augie Fackler raf at durin42.com
Mon Oct 17 20:20:00 EDT 2016


On Mon, Oct 17, 2016 at 11:38:02PM +0200, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1476739015 -7200
> #      Mon Oct 17 23:16:55 2016 +0200
> # Node ID efd5397e9da5b1d7e2c3353b0b06fc904651b150
> # Parent  8a864844d5a0c34bdb24d2e098a0cd339e32e020
> spelling: fixes of non-dictionary words

Queued, with some hunks discarded. I've tried to note the interesting ones.

>
> diff --git a/contrib/all-revsets.txt b/contrib/all-revsets.txt
> --- a/contrib/all-revsets.txt
> +++ b/contrib/all-revsets.txt
> @@ -8,7 +8,7 @@
>  #
>  # Please update this file with any revsets you use for benchmarking a change so
>  # that future contributors can easily find and retest it when doing further
> -# modification. Feel free to highlight interresting variants if needed.
> +# modification. Feel free to highlight interesting variants if needed.
>
>
>  ## Revset from this section are all extracted from changelog when this file was
> diff --git a/contrib/check-code.py b/contrib/check-code.py
> --- a/contrib/check-code.py
> +++ b/contrib/check-code.py
> @@ -463,7 +463,7 @@ def _preparepats():
>          failandwarn = c[-1]
>          for pats in failandwarn:
>              for i, pseq in enumerate(pats):
> -                # fix-up regexes for multi-line searches
> +                # fix-up regexps for multi-line searches

I've always used singular "regex" plural "regexes" - I don't see
"regexp" much in my day-to-day life. Dropped all instances of this
correction for now.

> @@ -192,7 +192,7 @@ def readbundle(ui, fh, fname, vfs=None):
>  def getbundlespec(ui, fh):
>      """Infer the bundlespec from a bundle file handle.
>
> -    The input file handle is seeked and the original seek position is not
> +    The input file handle is sought and the original seek position is not

I would correct this to seek()ed rather than sought - I'm a native
speaker and I wouldn't immediately follow the intent of the corrected
version here. Dropped all matching hunks for now.

Many thanks for this work - it's very valuable!


More information about the Mercurial-devel mailing list