Provided by: autorevision_1.21-1_all
autorevision - extract current-revision metadata from version-control repositories
autorevision -t <output-type> [-o <cache-file> [-f] ] [-e <name>] [-U] [-q] autorevision -s <symbol> [-o <cache-file> [-f] ] [-e <name>] [-U] [-q] autorevision -V
-t <output-type> Sets the output type. It is required unless -s is specified; both -t and -s cannot be used in the same invocation. -s <symbol> Changes the reporting behavior; instead of emitting a symbol file to stdout, only the value of that individual symbol will be reported. It is required unless -t is specified; both -t and -s cannot be used in the same invocation. -o <cache-file> Sets the name of the cache file. -e <name> Sets the output name of VCS_EXTRA Defaults to VCS_EXTRA. -f Forces the use of cache data even when in a repo; useful for speeding up subsequent runs if more than one output format is needed. -U Causes untracked files to be checked when determining if the working copy is modified for Subversion only. While this is the default behavior for all other repository types, it is off by default for Subversion because of speed concerns. -q Silence warnings. -V Emits the autorevision version and exits.
The bzr extractor is not very well tested. When a git repo is actually a git-svn remote, this tool tries to do the right thing and return a Subversion revision. The bug is that the detector code for this case is somewhat unreliable; you will get the hash instead if your configuration doesn’t use svn-remote.svn.url. Nested repositories, particularly repositories of different types, may result in incorrect and unintended behavior. Unpacking a tarball into a repository will result in incorrect and unintended behavior.
Development of autorevision is carried out at https://github.com/Autorevision/autorevision HTML rendered docs and usage examples can be found at https://autorevision.github.io/
dak180 <email@example.com>: concept, bash/C/C++/XCode/PHP/ini support, git and hg extraction. Eric S. Raymond <firstname.lastname@example.org>: Python/Perl/lua/m4 support, svn and bzr extraction, git-svn support, CLI design, man page. See AUTHORS.txt for a full list in order of number of contributions. 1.21 2017-09-30 AUTOREVISION(1)