Command line tool to duplicate/modify version number strings across source code and distribution files according to syntax context.

⌈⌋ ⎇ branch:  version numbers get/write


Help: describe

The "describe" command:

Usage: fossil describe ?VERSION? ?OPTIONS?

Provide a description of the given VERSION by showing a non-propagating tag of the youngest tagged ancestor, followed by the number of commits since that, and the short hash of VERSION. Only tags applied to a single check-in are considered.

If no VERSION is provided, describe the current checked-out version.

If VERSION and the found ancestor refer to the same commit, the last two components are omitted, unless --long is provided. When no fitting tagged ancestor is found, show only the short hash of VERSION.

Options:

--digits
Display so many hex digits of the hash (default: the larger of 6 and the 'hash-digit' setting)
-d|--dirty
Show whether there are changes to be committed
--long
Always show all three components
--match GLOB
Consider only non-propagating tags matching GLOB