Hi folks, I need to integrate SVN with JIRA. So end-user should not commit any code without proper JIRA ticket. I have created test repository and placed a simple shell script inside pre-commit.tmpl <https://code.corp.hubzu.com:4434/csvn/repo/downloadHook/94?filename=pre-commit.tmpl>. But still i'm able to commit without any commit message. Could anyone help me on this ?
#!/bin/bash SVNLOOK=/usr/bin/svnlook LOGMSG=`$SVNLOOK log -t "$TXN" "$REPOS" | grep "[a-zA-Z0-9]" | wc -c` echo $LOGMSG if [ "$LOGMSG" -lt 1 ]; then echo -e "Please provide a meaningful comment when committing changes." 1>&2 exit 1 fi -- You received this message because you are subscribed to the Google Groups "TortoiseSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/9964489f-b496-4336-abf4-6f6cf90cb7e0%40googlegroups.com.
