comparison tests/test-show.t @ 31943:3e9f118cc834

show: fix formatting of multiple commands Because we're formatting to RST, short lines wrap and there needs to be an extra line break between paragraphs to prevent that. In addition, the indentation in the old code was a bit off. Refactor the code to a function (so we don't leak variables outside the module) and modify it so it renders more correctly.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 12 Apr 2017 20:28:44 -0700
parents 8e282aa3c3ff
children 99bc93147d87
comparison
equal deleted inserted replaced
31942:bc0579a25f82 31943:3e9f118cc834
35 Consumers wanting stable command output should specify a template via 35 Consumers wanting stable command output should specify a template via
36 "-T/--template". 36 "-T/--template".
37 37
38 List of available views: 38 List of available views:
39 39
40 bookmarks bookmarks and their associated changeset 40 bookmarks bookmarks and their associated changeset
41 41
42 (use 'hg help -e show' to show help for the show extension) 42 (use 'hg help -e show' to show help for the show extension)
43 43
44 options: 44 options:
45 45