post-commit 400 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/usr/bin/env perl

use SVN::Notify;

my $notifier = SVN::Notify->new(
      repos_path => $ARGV[0],
      revision   => $ARGV[1],
      to         => 'bip.commit.verimag@imag.fr',
      handler    => 'HTML::ColorDiff',
      subject_cx => 1,
      max_diff_length => "1024",
      filters    => [ 'Trac' ],
      trac_url   => 'http://chaillol/bip2/',
  );

$notifier->prepare;
$notifier->execute;