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

Re: ViewCVS URL in mailer hook script

From: Bruce A. Mah <bmah_at_acm.org>
Date: 2004-07-16 19:28:09 CEST

On Fri, 2004-07-16 at 09:33, C. Michael Pilato wrote:
> "Bruce A. Mah" <bmah@acm.org> writes:
>
> > Thanks, Michael! I missed the fact that you're using mailer.py instead
> > of commit-email.pl, so I have to set this up first before I can apply
> > your changes...working on it though!
>
> Once you switch to mailer.py, my friend, you will never, NEVER, look
> back at that Perl-based monstrousity again...

Heh. I started using commit-email.pl over a year ago because: 1) at
the time the Python bindings didn't work in the FreeBSD port, 2) I don't
know Python. #1 is solved now, and as for #2, I figure if it works for
the Subversion project, it's probably good enough for me. :-)

Happily, it all seems to work now, including the ViewCVS URL
generation. Many thanks for your work and quick response.

One tip for those inclined to try this: Michael's patch applies to
mailer.py on trunk (maybe the 1.1 release branch?) but not to the 1.0
release branch. So I had to grab a newer mailer.py, which is more
flexible but takes an additional command-line argument. Just read the
comments at the top of mailer.py and you can probably figure it out
pretty easily.

Cheers,

Bruce.

Received on Fri Jul 16 19:28:44 2004

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