Fossil SCM
Suggestion: CLI option to describe features with which fossil was compiled
3a2a26513220342…
· opened 13 years ago
- Type
- Feature_Request
- Priority
- —
- Severity
- Cosmetic
- Resolution
- Fixed
- Subsystem
- —
- Created
- March 15, 2013 12:35 p.m.
It would be useful to have the means to find out (or have fossil.exe describe) which features it was compiled against (e.g. whether it was compiled with OpenSSL). This could be something like:
C:> fossil.exe version This is fossil version 1.2 [d2e07756d9] 2013-02-16 00:04:35 UTC
C:> fossil.exe version -info This is fossil version 1.2 [d2e07756d9] 2013-02-16 00:04:35 UTC - mingw32 - openssl (1.0.1d)
C:>
Comments (4)
It would be useful to have the means to find out (or have fossil.exe describe) which features it was compiled against (e.g. whether it was compiled with OpenSSL). This could be something like:
C:> fossil.exe version This is fossil version 1.2 [d2e07756d9] 2013-02-16 00:04:35 UTC
C:> fossil.exe version -info This is fossil version 1.2 [d2e07756d9] 2013-02-16 00:04:35 UTC - mingw32 - openssl (1.0.1d)
C:>
This has been implemented, to some degree, in [1be15a57f1a6447], in the form of a new -verbose flag for the 'version' command. i'm not sure how to get some of the details (e.g. the OpenSSL implementation name and version number), so it just spits out some simple text, e.g.:
[stephan@host:~/cvs/fossil/fossil/src]$ f version -v This is fossil version 1.25 [0d55a0ad0f] 2013-03-15 14:35:26 UTC Compiled with the following features enabled: SSL JSON
OK, I see that it has more code since [d2e07756d9]: [/vdiff?from=d2e07756d9ecc505&to=1be15a57f1a64478&name=src/checkin.c]
More information has been added to the verbose output in trunk.