Mercurial > hgrepos > DevTools > mercurial-extensions
diff extensions/kwarchive.py @ 137:5e502e9dd5e5
As an example: put the |VCSRevision| into the extensions also and print it with the help output
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Mon, 20 Aug 2018 09:26:19 +0200 |
| parents | f470702886b4 |
| children | 02126a3ad162 |
line wrap: on
line diff
--- a/extensions/kwarchive.py Mon Aug 20 09:18:23 2018 +0200 +++ b/extensions/kwarchive.py Mon Aug 20 09:26:19 2018 +0200 @@ -70,6 +70,8 @@ code execution secnarios because Mercurial templates can execute a big bunch of Python functions. +(rev |VCSRevision|) + """ from __future__ import absolute_import
