Random Perl/SVN Question

David Precious davidp at preshweb.co.uk
Sun Aug 24 01:13:21 BST 2008

Randy J. Ray wrote:
> The core classes that come with subversion seem to be fairly mid- to 
> low-level, and what I need is the ability to analyze a specific 
> transaction (pre- or post-commit are equally acceptable for this task). 
> To be more specific, I need to know what files are part of the 
> transaction, and what their disposition is ("U", "D", "A", etc.). Short 
> of grep'd (or ack'ing) through the SVK sources, can anyone suggest how 
> this would be done with the core Perl/SVN classes?

The commit-email.pl script supplied with Subversion parses the output of 
svnlook to obtain that info; that might be worth a look.


Dave P

More information about the london.pm mailing list