equal
deleted
inserted
replaced
6006 return hg.verify(repo) |
6006 return hg.verify(repo) |
6007 |
6007 |
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') |
6015 fm = ui.formatter("version", opts) |
6031 fm = ui.formatter("version", opts) |
6016 fm.startitem() |
6032 fm.startitem() |