ln1sub01 gtroccol> ./post-lock-test + cd + rm -rf repo test-repo + mkdir repo + svnadmin create /home/gtroccol/repo/test-repo + echo #!/bin/ksh exit 1 + > /home/gtroccol/repo/test-repo/hooks/post-lock + chmod 777 /home/gtroccol/repo/test-repo/hooks/post-lock + svn co file:///home/gtroccol/repo/test-repo /home/gtroccol/test-repo Checked out revision 0. + cd /home/gtroccol/test-repo + echo Old file + > file + svn add file A file + svn ci -mAdding file Adding file Transmitting file data . Committed revision 1. + svn lock file svn: Lock succeeded, but post-lock hook failed svn: 'post-lock' hook failed; no error output available + svn st -u -q O 1 file Status against revision: 1 + ls -FC -l file -rw-rw-r-- 1 gtroccol users 9 Jul 2 12:03 file + echo New line + >> file + svn st -u -q M O 1 file Status against revision: 1 + svn ci -mAdding a new line Sending file Transmitting file data .svn: Commit failed (details follow): svn: Cannot verify lock on path '/file'; no matching lock-token available + svnadmin lslocks /home/gtroccol/repo/test-repo Path: /file UUID Token: opaquelocktoken:646ed371-0851-0410-a41f-b47183366024 Owner: gtroccol Created: 2008-07-02 12:03:38 +0100 (Wed, 02 Jul 2008) Expires: Comment (0 lines): ln1sub01 gtroccol>