The "test-fingerprint" command:
Usage: fossil test-fingerprint ?RCVID? ?--check? Display the repository fingerprint. Or if the --check option is provided and this command is run from a checkout, invoke the db_fingerprint_ok() method and print its result.