Show More
@@ -73,10 +73,8 b' def show(ui, repo, view=None, template=N' | |||||
73 |
|
73 | |||
74 | """ |
|
74 | """ | |
75 | if ui.plain() and not template: |
|
75 | if ui.plain() and not template: | |
76 | raise error.Abort(_('"hg show" cannot be used in plain mode because ' |
|
76 | hint = _('invoke with -T/--template to control output format') | |
77 | 'output is not stable'), |
|
77 | raise error.Abort(_('must specify a template in plain mode'), hint=hint) | |
78 | hint=_('unset HGPLAIN and invoke with -T/--template ' |
|
|||
79 | 'to control output')) |
|
|||
80 |
|
78 | |||
81 | views = showview._table |
|
79 | views = showview._table | |
82 |
|
80 |
@@ -55,8 +55,8 b' Unknown view prints error' | |||||
55 | HGPLAIN results in abort |
|
55 | HGPLAIN results in abort | |
56 |
|
56 | |||
57 | $ HGPLAIN=1 hg show bookmarks |
|
57 | $ HGPLAIN=1 hg show bookmarks | |
58 | abort: "hg show" cannot be used in plain mode because output is not stable |
|
58 | abort: must specify a template in plain mode | |
59 |
( |
|
59 | (invoke with -T/--template to control output format) | |
60 | [255] |
|
60 | [255] | |
61 |
|
61 | |||
62 | But not if a template is specified |
|
62 | But not if a template is specified |
General Comments 0
You need to be logged in to leave comments.
Login now