Purpose: | Show version information about this tree. |
||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Usage: | bzr version-info [LOCATION] |
||||||||||||||||||||||||||||||||||
Options: |
|
||||||||||||||||||||||||||||||||||
Description: | You can use this command to add information about version into source code of an application. The output can be in one of the supported formats or in a custom format based on a template. For example: bzr version-info --custom \
--template="#define VERSION_INFO \"Project 1.2.3 (r{revno})\"\n"
will produce a C header file with formatted string containing the current revision number. Other supported variables in templates are:
|