changeset 29647:9b6dc989f02b stable

doc: use field rst syntax to show keywords in debugdeltachain help correctly List of available keywords is well formatted as a list of fields in doc string, but is formatted as just normal text in online help output.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 01 Aug 2016 06:08:26 +0900
parents a8a5dd8986f0
children 94c5273c7d5d
files mercurial/commands.py
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Aug 01 06:08:26 2016 +0900
+++ b/mercurial/commands.py	Mon Aug 01 06:08:26 2016 +0900
@@ -2615,23 +2615,23 @@
 
     Output can be templatized. Available template keywords are:
 
-       rev          revision number
-       chainid      delta chain identifier (numbered by unique base)
-       chainlen     delta chain length to this revision
-       prevrev      previous revision in delta chain
-       deltatype    role of delta / how it was computed
-       compsize     compressed size of revision
-       uncompsize   uncompressed size of revision
-       chainsize    total size of compressed revisions in chain
-       chainratio   total chain size divided by uncompressed revision size
+    :``rev``:       revision number
+    :``chainid``:   delta chain identifier (numbered by unique base)
+    :``chainlen``:  delta chain length to this revision
+    :``prevrev``:   previous revision in delta chain
+    :``deltatype``: role of delta / how it was computed
+    :``compsize``:  compressed size of revision
+    :``uncompsize``: uncompressed size of revision
+    :``chainsize``: total size of compressed revisions in chain
+    :``chainratio``: total chain size divided by uncompressed revision size
                     (new delta chains typically start at ratio 2.00)
-       lindist      linear distance from base revision in delta chain to end
+    :``lindist``:   linear distance from base revision in delta chain to end
                     of this revision
-       extradist    total size of revisions not part of this delta chain from
+    :``extradist``: total size of revisions not part of this delta chain from
                     base of delta chain to end of this revision; a measurement
                     of how much extra data we need to read/seek across to read
                     the delta chain for this revision
-       extraratio   extradist divided by chainsize; another representation of
+    :``extraratio``: extradist divided by chainsize; another representation of
                     how much unrelated data is needed to load this delta chain
     """
     r = cmdutil.openrevlog(repo, 'debugdeltachain', file_, opts)