[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: Thu, 9 Apr 2009 15:08:28 +0300

Hi Andrey!

2009/4/9 Andrey Repin <anrdaemon_at_freemail.ru>

> Greetings, Sergey Kryzhny!
>
> > 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?
> > I wil try apache mod_rewrite with renamed "projects2" later.
>
> > P.S. very anoying bug, then I try on test machines with "projects2" -
> > everything work, try to implement on real service and get not working
> > service.
>
> What the server software version?
> What svn says when you executing these commands without attempt to edit?
>
>
uname -a
Linux domU-***********-B2 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST
2008 x86_64 x86_64 x86_64 GNU/Linux upgraded to Fedora 10

Subversion built from sources:
http://subversion.tigris.org/downloads/subversion-1.6.0.tar.bz2

sergey_at_serg-krz:~$ svn proplist --revprop -r 16570
http://svn1.mycompany.org/projects/
Unversioned properties on revision 16570:
  svn:log
  svn:author
  svn:date
sergey_at_serg-krz:~$ svn proplist --revprop -r 16389
http://svn1.mycompany.org/projects/
Unversioned properties on revision 16389:
sergey_at_serg-krz:~$ svn proplist --revprop -r 16389
http://svn1.mycompany.org/prj/
Unversioned properties on revision 16389:
  svn:log
  svn:author
  svn:date
sergey_at_serg-krz:~$

 Note that http://svn1.mycompany.org/projects/ and
http://svn1.mycompany.org/prj/ - same repository
it use symlink :
[root_at_domU***** repositories]# ls -la
total 24
drwxr-xr-x 6 apache apache 4096 2009-04-09 09:07 .
drwxr-xr-x 4 root root 4096 2009-04-02 14:43 ..
drwxr-xr-x 6 apache apache 4096 2009-04-08 07:24 prj
drwxr-xr-x 7 apache apache 4096 2009-04-07 12:23 projecto
lrwxrwxrwx 1 root root 25 2009-04-09 09:07 projects ->
/mnt/svn/repositories/prj
drwxr-xr-x 6 apache apache 4096 2009-04-08 04:56 projectsb
drwxr-xr-x 6 apache apache 4096 2009-04-07 12:26 projects.orig
[root_at_domU-***** repositories]# pwd
/mnt/svn/repositories

> --
> WBR,
> Andrey Repin (anrdaemon_at_freemail.ru) 09.04.2009, <15:38>
>
> Sorry for my terrible english...
>
>

-- 
--
Best regards,
Sergey
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1613533
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-09 14:10:14 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.