i will replace automatically informations while SVN-Commitment.
For example:
myfile.js
/* $Author:User; $ChangeDate:02.01.2014; $Revision:10401; */
function myJavascriptFile(){
}
Now when the commitment is runnig the hook should replace the information.
$Author:theAuthorname; ...
Couldn't find something about that... is this possible with hooks and when 'yes' - how?
thanks for help and happy new year!
Hook scripts should never attempt to modify the contents of your transaction. You could:
svn update
after every commit just to see what's really in the repository.It's unclear what you're trying to achieve here with this replacement. If svn:keywords
isn't providing the information or format that you need, don't use it and instead use a different method to achieve your desired state.