svn server permissions for top-level svn update

Hi,

My svn working copy mirrors the layout of the whole svn repository,
from llvm-project downwards, so I have:

~/svn/llvm-project/
~/svn/llvm-project/llvm/
~/svn/llvm-project/llvm/trunk/ # lots of stuff in here
~/svn/llvm-project/cfe/
~/svn/llvm-project/cfe/trunk/ # and lots of stuff in here
(and likewise for test-suite, llvm-gcc-4.2 and dragonegg)

This is nice because I can do "svn log" and even "svn commit" at the
top level, to do things that affect both LLVM and Clang atomically.

But it is very frustrating that I can't do "svn update" from the top level:

~/svn/llvm-project$ svn up # doesn't work
svn: Server sent unexpected return value (403 Forbidden) in response
to REPORT request for '/svn/llvm-project/!svn/vcc/default'
~/svn/llvm-project$ svn up llvm/trunk/ # doesn't work, very frustrating!
svn: Server sent unexpected return value (403 Forbidden) in response
to REPORT request for '/svn/llvm-project/!svn/vcc/default'
~/svn/llvm-project$ ( cd llvm/trunk/ ; svn up ) # does work!
At revision 129984.

Is there anything that can be done at the server end to fix this, or
at my end to work around it (without having to keep cd'ing into
subdirectories)?

Thanks,
Jay.

Hi,

My svn working copy mirrors the layout of the whole svn repository,
from llvm-project downwards, so I have:

~/svn/llvm-project/
~/svn/llvm-project/llvm/
~/svn/llvm-project/llvm/trunk/ # lots of stuff in here
~/svn/llvm-project/cfe/
~/svn/llvm-project/cfe/trunk/ # and lots of stuff in here
(and likewise for test-suite, llvm-gcc-4.2 and dragonegg)

This is nice because I can do "svn log" and even "svn commit" at the
top level, to do things that affect both LLVM and Clang atomically.

But it is very frustrating that I can't do "svn update" from the top level:

~/svn/llvm-project$ svn up # doesn't work
svn: Server sent unexpected return value (403 Forbidden) in response
to REPORT request for '/svn/llvm-project/!svn/vcc/default'
~/svn/llvm-project$ svn up llvm/trunk/ # doesn't work, very frustrating!
svn: Server sent unexpected return value (403 Forbidden) in response
to REPORT request for '/svn/llvm-project/!svn/vcc/default'
~/svn/llvm-project$ ( cd llvm/trunk/ ; svn up ) # does work!
At revision 129984.

Is there anything that can be done at the server end to fix this, or
at my end to work around it (without having to keep cd'ing into
subdirectories)?

Sorry, but we do not plan to change the permissions to allow top level svn co/update.

Thanks,
Tanya

Hi Jay,

Is there anything that can be done at the server end to fix this, or
at my end to work around it (without having to keep cd'ing into
subdirectories)?

I use the following from a script:

   find . -maxdepth 1 -mindepth 1 -type d -name .svn -prune -o -type d -exec svn update \{\} \;

Ciao, Duncan.

I use the following from a script:

find . -maxdepth 1 -mindepth 1 -type d -name .svn -prune -o -type d -exec svn
update \{\} \;

I'm not sure that would work in my situation. One of the curious
problems I have is that this doesn't work:

$ svn up llvm/trunk
svn: Server sent unexpected return value (403 Forbidden) in response
to REPORT request for '/svn/llvm-project/!svn/vcc/default'

but this does:

$ ( cd llvm/trunk/ ; svn up )
At revision 130125.

So I guess I'll carry on using my:

$ for t in */trunk ; do ( cd $t ; svn up ) ; done

Yuck,
Jay.