I tried to get the author name for the file which is being committed in SVN. I know the code should be written in pre-commit hook.
The below commands are used to get the details of committed files alone, not the file which is being committed.
- SVN info "Repos_Path"
- svnlook author "repos_path"
I can't even get the revision number for the file which is being committed. If I can get the revision number, then I can get the author name.
So, is there any possible way to get author name or revision number of the file which is being committed?