How to print arguments in SVN hook
问题 I am using windows7 and VisualSVN Server. I have wrote simple SVN post-commit hook which looks like C:\Perl64\bin\perl C:\repositories\secret-project\hooks\myhook.pl %1 %2 and myhook.pl script looks like $svnlook = '"C:\Program Files\VisualSVN Server\bin\svnlook.exe"'; $repos = $ARGV[0]; $txn = $ARGV[1]; $msg = `$svnlook changed -t "$txn" "$repos"`; chomp($msg); print STDOUT $repos . " " . $txn; print STDOUT $msg; exit(0); so basically I just want for now to print changed files. Commit goes