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

Re: Getting version details from post-commit?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-05 04:36:29 CEST

Branko Čibej wrote:

> Talley, Brooks wrote:
>> Hi, everyone. I'm really enjoying subversion, but I've run into a bit
>> of a wall in my post-commit script.
>> Right now, the script sends email to a bunch of people who need to
>> know that a version has been committed. So far so good. However, I
>> would really love the email to include who *did* the commit, and what
>> the version log message was, rather than just" version 149 was
>> committed."
>> Any pointers on how I could achieve that?
> Oh, yes. :-)
> Look into the tools/hook-scripts directory in the Subversion source
> tree. You;ll find commit-email.pl and propchange-email.pl; and if you
> prefer an all-in-one solution using the Python bindings, there's
> mailer/mailer.py.

Or, if you don't want to mess around with language bindings and APIs,
just use the 'svnlook' binary to examine the repository.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 5 04:38:10 2004

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.