svn2revisioninc-1.8.0 -v (return code: 0)
SourceDirectory: /usr/lib/lazarus/1.8.0/tools
RevisionIncFileName: /tmp/sandpit/revision.inc
ConstName: RevisionStr
Going to retrieve revision for source directory: /usr/lib/lazarus/1.8.0/tools
Failed retrieving revision with svnversion.
Failure retrieving revision with entries file: /usr/lib/lazarus/1.8.0/tools/.svn/entries
Failure retrieving revision with entries XML file: /usr/lib/lazarus/1.8.0/tools/.svn/entries
GetRevisionFromHgRevision: non-zero exit status: no hg repo?
Failed retrieving revision with hg/mercurial.
svn2revisioninc-1.8.0 -HELP (return code: 1)
/usr/lib/lazarus/1.8.0/tools/svn2revisioninc
svn2revisioninc <repository path> <output file> [Options]
or
svn2revisioninc [Options] <repository path> <output file>
or
svn2revisioninc <repository path> [Options] <output file>
Options:
--o Output file
--c=<name> Name of constant (default RevisionStr)
--s write revision to stdout, do not create inc file
--v Be more verbose
--h This help screen
Note: <repository path> default current directory
<output file> default revision.inc
--o overrides <output file>
1st switchless parameter = <repository path>
2nd switchless parameter = <output file>