[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: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Tue, 12 Feb 2008 13:40:47 -0600

On Feb 12, 2008, at 09:26, Chris Ross wrote:

> On Mon, 2008-02-11 at 18:24 -0600, Ryan Schmidt wrote:
>
>>> CustomLog logs/svn_log "%t %u %{SVN-ACTION}e" env=SVN-ACTION
>>>
>>> However, my configuration is with an overall <Location>, using
>>> SVNParentPath. And, the above CustomLog spec results in the log
>>> messages looking somewhat like:
>>>
>>> [11/Feb/2008:10:48:56 -0500] cross unlock '/foo/newfile'
>>> [11/Feb/2008:10:48:57 -0500] cross commit r12
>>> [11/Feb/2008:10:50:21 -0500] cross commit r13
>>>
>>> Now, I could infer from the revision number what repository
>>> this is
>>> in, but that's the only way. There are at least 3 repositories
>>> being
>>> logged to this file by mod_dav_svn, but the repository name isn't
>>> being
>>> logged. Is that available somewhere?
>>
>> 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/

---------------------------------------------------------------------
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-12 20:41:33 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.