I want to use post-commit hook to produce a c header file, so I can get the latest revision number from my c codec. But I can not do that because in post-commit hook script, I don't known how to put a header file into the repo.
$Rev$ can get a paiticular file's revision number, but I want to get the whole repo's. Does it is possible? thanks!