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

Re: strange bug with propget/proplist/propedit via mod_dav_svn

From: Sergey Kryzhny <sergey.kryzhny_at_gmail.com>
Date: Fri, 10 Apr 2009 10:48:24 +0300

Hi Ryan!

2009/4/9 Ryan Schmidt <subversion-2009a_at_ryandesign.com>

>
> On Apr 9, 2009, at 05:19, Sergey Kryzhny wrote:
>
> I try to implement pre-revprop-change hook for change svn:log message and
>> run into problem with access via apache mod_dav_svn.
>> Everything work fine via EDITOR=nano svn propedit -r 16385 --revprop
>> svn:log file:///mnt/svn/repositories/projects/
>> I get back string like "fixin foo/bar JIRA-blah-blah" and can edit/set new
>> message.
>> But if I use EDITOR=nano svn propedit -r 16385 --revprop svn:log
>> http://svn1.mycompany.org/projects/
>> on same host or via internet / intranet I get empty response string.
>> Same behavior for propget and proplist. Proplist does not return property
>> list via dav.
>>
>> Tried different windows/linux client.
>> Tried different versions of subversion: 1.4.4 via yum on Fedora7, 1.5.4
>> via yum on Fedora 10, 1.6.0 build from sources on Fedora10, 1.4.6 on Ubuntu
>> 8.04
>> Tried FSFS and BDB repository.
>> Tried Dump/Load repository and svnadmin upgrade repository.
>>
>> Very strange that for some repository revision it work normally for both
>> file/dav access. -> so hooks are OK.
>> Like for revision 12570 it work, for revision 16385 it dosen't work via
>> dav.
>>
>> And most mistycal that if I rename my repository (on host local FS) from
>> "projects" to some other name like "projects2" or "projects.orig" it start
>> work via dav!!!!
>> I even try to symlink directory "projects" to "projects2" - work on
>> "projects2" and dosen't work on "projects" !!!
>>
>> Any ideas to resolve this strange bug?
>>
>
> Perhaps there is some other Apache directive matching on the string
> "projects" and interfering. Search your httpd.conf and any other files it
> includes for the string "projects".
>
>
Only one string in apache configs match projects:
            RedirectMatch "^/?$" "/projects/"

I don't think this may be problem, with some revisions in svn repository
propget works, with some don't work.
If I use mod_proxy redirection from /projects to renamed "projects2"
repository - forks fine.

-- 
--
Best regards,
Sergey
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1626292
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-10 09:49:24 CEST

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.