Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 15037:df47381b41d6
minirst: add simple table support
This adds a subset of the 'simple table' support from RST to allow
formatting of options lists through RST. Table columns are
automatically sized based on contents, with line wrapping in the last
column.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 11 Aug 2011 22:05:57 -0500 |
parents | 157a294444b2 |
children | 0bb0f807dfc3 |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Aug 11 22:05:31 2011 -0500 +++ b/mercurial/commands.py Thu Aug 11 22:05:57 2011 -0500 @@ -3950,13 +3950,16 @@ file states (columns) and option combinations (rows). The file states are Added [A], Clean [C], Modified [M] and Missing [!] (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 + 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 + ======= == == == == Note that remove never deletes files in Added [A] state from the working directory, not even if option --force is specified.