Patchwork [3,of,4,STABLE] doc: put text into header of 1st column in table to generate page correctly

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Oct. 24, 2013, 4:22 p.m.
Message ID <1837deb4f44886b30f14.1382631758@juju>
Download mbox | patch
Permalink /patch/2815/
State Accepted
Commit 95304251c376dcfe72cb6146131aeaafd2fcdd36
Headers show

Comments

Katsunori FUJIWARA - Oct. 24, 2013, 4:22 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1382631258 -32400
#      Fri Oct 25 01:14:18 2013 +0900
# Branch stable
# Node ID 1837deb4f44886b30f1443fbd07879de2908e7dc
# Parent  8db99b8d6ea124c2ba8189e7f245d1ba6ce4b940
doc: put text into header of 1st column in table to generate page correctly

From the table without header text of 1st column, docutils generates
the table with fully empty header row.

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4769,14 +4769,14 @@ 
       (as reported by :hg:`status`). The actions are Warn, Remove
       (from branch) and Delete (from disk):
 
-      ======= == == == ==
-              A  C  M  !
-      ======= == == == ==
-      none    W  RD W  R
-      -f      R  RD RD R
-      -A      W  W  W  R
-      -Af     R  R  R  R
-      ======= == == == ==
+      ========= == == == ==
+      opt/state A  C  M  !
+      ========= == == == ==
+      none      W  RD W  R
+      -f        R  RD RD R
+      -A        W  W  W  R
+      -Af       R  R  R  R
+      ========= == == == ==
 
       Note that remove never deletes files in Added [A] state from the
       working directory, not even if option --force is specified.
diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -1691,7 +1691,7 @@ 
   (from branch) and Delete (from disk):
   </p>
   <table>
-  <tr><td></td>
+  <tr><td>opt/state</td>
   <td>A</td>
   <td>C</td>
   <td>M</td>