venkuvenkius
12 years agoOccasional Contributor
[CodeReviewer] Could not able to commit in SVN , because of the Pre-commit script
I used the below precommit code in batch file, and i could not able to commit the changes even after review is completed.
Error :
Commit failed (details follow):
Commit blocked by pre-commit hook (exit code 1) with output:
Your changelist message doesn't include the CodeReviewer review ID.
You must include text that matches this Java-style regular expression:
review:\s+(\d+)
"C:\Program Files\Collaborator Client\ccollab.exe" --url <URL> --user <Username>--password <password> --scm subversion --svn-repo-path %1 --svn-look-exe "C:\Program Files\TortoiseSVN\bin\svnlook.exe" admin trigger ensure-reviewed --review-id-regex "review:\s+(\d+)" %2 || exit 1
Error :
Commit failed (details follow):
Commit blocked by pre-commit hook (exit code 1) with output:
Your changelist message doesn't include the CodeReviewer review ID.
You must include text that matches this Java-style regular expression:
review:\s+(\d+)
"C:\Program Files\Collaborator Client\ccollab.exe" --url <URL> --user <Username>--password <password> --scm subversion --svn-repo-path %1 --svn-look-exe "C:\Program Files\TortoiseSVN\bin\svnlook.exe" admin trigger ensure-reviewed --review-id-regex "review:\s+(\d+)" %2 || exit 1