scripting - How to change svn commit message -
i wrote script can auto commit in every 10 minutes. it's commit message same ("code saved"). want change of them milestone.
this auto commit script:
cd c:\inetpub\wwwroot\sitecodes svn commit -m "code saved"
how can write script can give me chance write revision number , new commit message.
to answer actual question (at personal risk), svn requires explicit permission set in hook script before allow log message changed. never have repository long before need this. here's batch file can use. put in repository's "hooks" folder , call pre-revprop-change.bat
http://svn.haxx.se/users/archive-2006-03/0107.shtml
or little more readable version,
http://ayria.livejournal.com/33438.html
of course, agree else setup sub-optimal. you'll inevitably need change log message good reason sooner or later. :)
Comments
Post a Comment