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

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Thu Oct 24 11:22:38 CDT 2013


# HG changeset patch
# User FUJIWARA Katsunori <foozy at 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.

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>


More information about the Mercurial-devel mailing list