Show More
@@ -6008,7 +6008,23 def verify(ui, repo): | |||||
6008 | @command('version', [] + formatteropts, norepo=True, |
|
6008 | @command('version', [] + formatteropts, norepo=True, | |
6009 | intents={INTENT_READONLY}) |
|
6009 | intents={INTENT_READONLY}) | |
6010 | def version_(ui, **opts): |
|
6010 | def version_(ui, **opts): | |
6011 |
"""output version and copyright information |
|
6011 | """output version and copyright information | |
|
6012 | ||||
|
6013 | .. container:: verbose | |||
|
6014 | ||||
|
6015 | Template: | |||
|
6016 | ||||
|
6017 | The following keywords are supported. See also :hg:`help templates`. | |||
|
6018 | ||||
|
6019 | :extensions: List of extensions. | |||
|
6020 | :ver: String. Version number. | |||
|
6021 | ||||
|
6022 | And each entry of ``{extensions}`` provides the following sub-keywords | |||
|
6023 | in addition to ``{ver}``. | |||
|
6024 | ||||
|
6025 | :bundled: Boolean. True if included in the release. | |||
|
6026 | :name: String. Extension name. | |||
|
6027 | """ | |||
6012 | opts = pycompat.byteskwargs(opts) |
|
6028 | opts = pycompat.byteskwargs(opts) | |
6013 | if ui.verbose: |
|
6029 | if ui.verbose: | |
6014 | ui.pager('version') |
|
6030 | ui.pager('version') |
General Comments 0
You need to be logged in to leave comments.
Login now