[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Svn log inside a post-commit hook

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-11-09 17:58:10 CET

On 11/9/07, Harvey, Edward <Edward.Harvey@patni.com> wrote:
> Hey all.
>
> I like the output of svn log:
> [eharvey@localhost]$ svn log -r 207 --verbose
> http://svnhost/repositories/myrepo
>
> ------------------------------------------------------------------------
> r207 | eharvey | 2007-11-09 11:36:26 -0500 (Fri, 09 Nov 2007) |
> 1 line
> Changed paths:
> M /trash/trash.txt
> M /trash.txt
>
> here is my comment
>
> ------------------------------------------------------------------------
>
> But when I try to write "svn log" into a post-commit hook, it appears it
> can't perform that operation. Svnlook works, but is there any
> (relatively easy) way to get output like the above using svnlook? Or
> any way to make svn log work inside a post-commit hook?

Have you tried svnlook log?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 9 17:58:47 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.