> Inside a post-commit hook, "svn log" just exits with no output,
> presumably because svn server is still in the middle of
> an atomic
> operation. So "svn" can't do anything inside the
> post-commit hook, but
> "svnlook" still works.
>
>
> It works for me. Things to note in the command is that every
> path should be a full path (so "/usr/local/bin/svn" is
> necessary instead of "svn". Same case with /tmp/mylog). Also,
> the repsository argument to the svn log command should be a
> URL. $REPOS is only a path to the file system. Hence you need
> to prefix file:// to make it a file URL.
Yup, I was aware of the difference, URL for "svn log" and /dir/path/repo
for "svnlook log"
I bet the difference here is ... You're using a file:/// url, while I am
using an http:// url. I think the root cause of the problem for me is
still somewhere in the atomic lock, but you were able to work around it
by using a different URL that bypasses locking.
I don't have total confidence that your method is risk-free. But it
might be.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 9 23:39:06 2007