Patchwork [2,of,2] hgmanpage: fix grammar

login
register
mail settings
Submitter timeless@mozdev.org
Date Sept. 8, 2015, 5:51 p.m.
Message ID <9113ef57d29036586781.1441734683@waste.org>
Download mbox | patch
Permalink /patch/10419/
State Accepted
Headers show

Comments

timeless@mozdev.org - Sept. 8, 2015, 5:51 p.m.
# HG changeset patch
# User timeless@mozdev.org
# Date 1441732921 14400
#      Tue Sep 08 13:22:01 2015 -0400
# Node ID 9113ef57d2903658678128abf469f7197b06b5a6
# Parent  ad3db91618a5838a4d74a056ef7f2fe425ce4076
hgmanpage: fix grammar


remove 's's from places where they don't belong
insert the preposition 'in'
Augie Fackler - Sept. 9, 2015, 2:47 p.m.
On Tue, Sep 08, 2015 at 12:51:23PM -0500, timeless@mozdev.org wrote:
> # HG changeset patch
> # User timeless@mozdev.org
> # Date 1441732921 14400
> #      Tue Sep 08 13:22:01 2015 -0400
> # Node ID 9113ef57d2903658678128abf469f7197b06b5a6
> # Parent  ad3db91618a5838a4d74a056ef7f2fe425ce4076
> hgmanpage: fix grammar

queued, thanks

>
>
> remove 's's from places where they don't belong
> insert the preposition 'in'
>
> diff --git a/doc/hgmanpage.py b/doc/hgmanpage.py
> --- a/doc/hgmanpage.py
> +++ b/doc/hgmanpage.py
> @@ -18,11 +18,11 @@
>   7 miscellaneous
>   8 system administration
>
> -Man pages are written *troff*, a text file formatting system.
> +Man pages are written in *troff*, a text file formatting system.
>
>  See http://www.tldp.org/HOWTO/Man-Page for a start.
>
> -Man pages have no subsection only parts.
> +Man pages have no subsections only parts.
>  Standard parts
>
>    NAME ,
> @@ -317,7 +317,7 @@
>                      self._cnt = 0
>                  self._indent = 2
>                  if style == 'arabic':
> -                    # indentation depends on number of childrens
> +                    # indentation depends on number of children
>                      # and start value.
>                      self._indent = len(str(len(node.children)))
>                      self._indent += len(str(self._cnt)) + 1
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/doc/hgmanpage.py b/doc/hgmanpage.py
--- a/doc/hgmanpage.py
+++ b/doc/hgmanpage.py
@@ -18,11 +18,11 @@ 
  7 miscellaneous
  8 system administration
 
-Man pages are written *troff*, a text file formatting system.
+Man pages are written in *troff*, a text file formatting system.
 
 See http://www.tldp.org/HOWTO/Man-Page for a start.
 
-Man pages have no subsection only parts.
+Man pages have no subsections only parts.
 Standard parts
 
   NAME ,
@@ -317,7 +317,7 @@ 
                     self._cnt = 0
                 self._indent = 2
                 if style == 'arabic':
-                    # indentation depends on number of childrens
+                    # indentation depends on number of children
                     # and start value.
                     self._indent = len(str(len(node.children)))
                     self._indent += len(str(self._cnt)) + 1