Patchwork commands: the first word of each note should be capital or `hg`

login
register
mail settings
Submitter timeless@mozdev.org
Date Dec. 22, 2015, 2:26 a.m.
Message ID <40008458d9ab1a3a46ff.1450751185@waste.org>
Download mbox | patch
Permalink /patch/12220/
State Accepted
Headers show

Comments

timeless@mozdev.org - Dec. 22, 2015, 2:26 a.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1450751056 0
#      Tue Dec 22 02:24:16 2015 +0000
# Node ID 40008458d9ab1a3a46ff3a8e7c97742fd3200745
# Parent  3dea4eae4eebac11741f0c1dc5dcd9c88d8f4554
commands: the first word of each note should be capital or `hg`
Matt Mackall - Dec. 22, 2015, 10:46 p.m.
On Mon, 2015-12-21 at 20:26 -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless@mozdev.org>
> # Date 1450751056 0
> #      Tue Dec 22 02:24:16 2015 +0000
> # Node ID 40008458d9ab1a3a46ff3a8e7c97742fd3200745
> # Parent  3dea4eae4eebac11741f0c1dc5dcd9c88d8f4554
> commands: the first word of each note should be capital or `hg`

Queued for default, thanks.

-- 
Mathematics is the supreme nostalgia of our time.

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -542,7 +542,7 @@ 
 
     .. note::
 
-       backout cannot be used to fix either an unwanted or
+       :hg:`backout` cannot be used to fix either an unwanted or
        incorrect merge.
 
     .. container:: verbose
@@ -3523,7 +3523,7 @@ 
 
     .. note::
 
-       diff may generate unexpected results for merges, as it will
+       :hg:`diff` may generate unexpected results for merges, as it will
        default to comparing against the working directory's first
        parent changeset if no revisions are specified.
 
@@ -3614,7 +3614,7 @@ 
 
     .. note::
 
-       export may generate unexpected diff output for merge
+       :hg:`export` may generate unexpected diff output for merge
        changesets, as it will compare the merge changeset against its
        first parent only.
 
@@ -4963,14 +4963,14 @@ 
 
     .. note::
 
-       log -p/--patch may generate unexpected diff output for merge
+       :hg:`log --patch` may generate unexpected diff output for merge
        changesets, as it will only compare the merge changeset against
        its first parent. Also, only files different from BOTH parents
        will appear in files:.
 
     .. note::
 
-       for performance reasons, log FILE may omit duplicate changes
+       For performance reasons, :hg:`log FILE` may omit duplicate changes
        made on branches and will not show removals or mode changes. To
        see all such changes, use the --removed switch.
 
@@ -6228,7 +6228,7 @@ 
 
     .. note::
 
-       status may appear to disagree with diff if permissions have
+       :hg:`status` may appear to disagree with diff if permissions have
        changed or a merge has occurred. The standard diff format does
        not report permission changes and diff only reports changes
        relative to one merge parent.