hgext/show.py
changeset 31858 ad366d57d574
parent 31820 45761ef1bc93
child 31859 8e282aa3c3ff
equal deleted inserted replaced
31857:08fbc97d1364 31858:ad366d57d574
    71 
    71 
    72     List of available views:
    72     List of available views:
    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 
    83     if not view:
    81     if not view:
    84         ui.pager('show')
    82         ui.pager('show')