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

Re: Subversion/mod_dav_svn questions

From: Chris Ross <cross_at_markmonitor.com>
Date: Tue, 12 Feb 2008 18:14:40 -0500

On Tue, 2008-02-12 at 13:40 -0600, Ryan Schmidt wrote:
> >> It's too bad the repo name doesn't seem to be available as a separate
> >> variable anywhere. I had to parse it out of the URL.
> >
> > How did you do this, by the way? Were you able to get it into
> > the log
> > file, as I described my desire above?
>
> Yes, in a way. You can read about my method in the read-me file for
> my svnhookdispatcher script:
>
> http://www.ryandesign.com/svnhookdispatcher/

  That seems to solve a slightly different problem. And, the original
problem you're solving doesn't exist any more, as subversion already has
mechanisms for post-commit hook scripts, which is what I'm using now.
The problem I'm having is that that post-commit script, nor the
mailer.py script I'm having it run, appear to be able to get to the
repository name.

  I suppose I could set it in the environment from the post-commit
script, and modify mailer.py to look in the environment for it. It just
seems like mailer.py would already have a way to get to the bits that
were the arguments to the post-commit script...

  Thanks much for your help! It did expose a new option...

                              - Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-13 04:51:19 CET

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.