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

Svn log inside a post-commit hook

From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: 2007-11-09 17:50:33 CET

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?

Thanks...

---------------------------------------------------------------------
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:50:58 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.