I wrote a script which can auto commit in every 10 minutes. But it's commit message always same ("Code saved"). But i want to change some of them which are milestone.
This is my auto commit script:
cd c:\inetpub\wwwroot\siteCodes
svn commit -m "Code Saved"
How can i write a script which can give me a chance to write revision number and new commit message.
To answer your actual question (at personal risk), svn requires explicit permission to be set in a hook script before it will allow the log message to be changed. I never have a repository long before I need this. Here's a batch file you can use. Put it in the repository's "hooks" folder and call it pre-revprop-change.bat
http://svn.haxx.se/users/archive-2006-03/0107.shtml
Or a little more readable version,
http://ayria.livejournal.com/33438.html
Of course, I agree with everyone else that your setup is very sub-optimal. But you'll inevitably need to change the log message for a good reason sooner or later. :)