Let’s say I have a text file to commit using Subversion. Prior to commit, a pop-up window will appear consisting of the files to commit and a message box wherein I may place my comments regarding the changes for said file.
First question, I’d like to verify if it is possible to place the message that I placed at the message box of the pop-up window at the bottom of the text file that I will commit.
Second, If yes, please advise on how to implement. I really don’t have ideas regarding pre-commit.
No it’s not possible. See this answer from the Subversion FAQ:
Does Subversion have a keyword which behaves like $Log$ in CVS?
No. There is no equivalent for the $Log$ keyword in CVS. If you want to retrieve a log for a specific file, you can run ‘svn log your-file-name’ or ‘svn log url-to-your-file’. From the mailing list some explanations why $Log$ is bad:
And:
I don’t care about that. I want to use it anyway. Will you implement it?
No. There are no plans to implement it ourselves or accept patches which implement this feature. If you want to distribute your files with some kind of changelog included, you might be able to work around this limitation in your build system.