##// END OF EJS Templates
version: enable pager if --verbose is specified...
Augie Fackler -
r31047:8aaebe8e default
parent child Browse files
Show More
@@ -5415,6 +5415,8 b' def verify(ui, repo):'
5415 @command('version', [] + formatteropts, norepo=True)
5415 @command('version', [] + formatteropts, norepo=True)
5416 def version_(ui, **opts):
5416 def version_(ui, **opts):
5417 """output version and copyright information"""
5417 """output version and copyright information"""
5418 if ui.verbose:
5419 ui.pager('version')
5418 fm = ui.formatter("version", opts)
5420 fm = ui.formatter("version", opts)
5419 fm.startitem()
5421 fm.startitem()
5420 fm.write("ver", _("Mercurial Distributed SCM (version %s)\n"),
5422 fm.write("ver", _("Mercurial Distributed SCM (version %s)\n"),
General Comments 0
You need to be logged in to leave comments. Login now