2 # Written by Martin Bartosch for the OpenXPKI project 2006
3 # Copyright (c) 2006 by The OpenXPKI Project
5 ###########################################################################
6 # Format definitions. The formats defined here can be used as symbolic
7 # names for the --format option.
11 ###########################################################################
12 # Version number components
14 # built-in components (component names are 'magic'), but you can modify
16 # Currently the following magic built-ins are defined:
18 # the global SVN revision number
19 # 'last-changed-revision'
20 # obtains the highest "Last Changed Rev" below the current
21 # directory (recursively)
22 # The following keywords are only expanded if Git is used:
25 # 'git-abbreviated-commit-hash'
26 # abbreviated commit hash (hint: git-show-ref -h -s --abbrev HEAD)
28 # tag name of the current checkout (empty string if no tag is defined,
29 # if more than one tags are set for the current head then only the first
35 [last-changed-revision]
36 keyword: SVN_LAST_CHANGED_REVISION