To put the prefix ? to codes by Git/SVN

“at your repository”? at your repository directly? That would be call “keyword expansion” and that is not recommended (as discussed in this SO question) Putting meta-data (revision number) into data stored into a repository can lead to merge issues. What you see in SO pages are the result of a deployment process which takes the … Read more

SVN pre-commit hook for avoiding changes to tags subdirectories

I don’t have enough reputation to “comment” on Raim’s answer above, but his worked great, with one exception, his grep pattern is wrong. I simply used the below as my pre-commit hook (I didn’t have an existing one, you’d need to merge in that case): #!/bin/sh REPOS=”$1″ TXN=”$2″ SVNLOOK=/opt/local/bin/svnlook # Committing to tags is not … Read more