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

commit-email feature request

From: Tom Hosiawa <tomek32_at_gmail.com>
Date: 2005-01-19 00:50:08 CET

> The patch was rejected due to a flawed design, not because of any
> disagreement with the feature concept.
>
> If you want to write a patch which does not have that design flaw, I'd be
> happy to commit it.

I accidently replied to Steve Williams himself before instead of the
list, and he ended up giving me a better solution in a personal email.
Thanks Steve.

Here's what he said that worked for me:
> In post-commit, I have (all on one line)
>
> /var/repos/project/hooks/mailer.py commit "$REPOS" "$REV"
> /var/repos/project/hooks/mailer.conf
>
> This ensures that mailer.py gets the right .conf file. In mailer.conf I
> have "generate_diffs = no". That's working for me.

Maybe this example should be included as an example in the default
post-commit.tmpl. I found it a lot easier then commit-email for what I
needed. Maybe someone else would too.

> > On a side question, I noticed post-commit contains the following line
> > log-commit.py --repository "$REPOS" --revision "$REV"
> >
> > What does it do? I can't seem to find the file log-commit.py on my
> > system. So I'm wondering if this is a bug with gentoo, or subversion?
>
> It's a hypothetical example.

Thanks

--
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 19 00:52:27 2005

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.