Mathias Weinert wrote:
> Sure (now when I am back from holiday). The following script is a
> slightly modified version of my original one as the original one was
> using one of my test repositories. This one starts with creating a
> new repository:
>
> #!/bin/bash
>
> rm -rf repos
> rm -rf work
>
> svnadmin create repos
> echo "[general]
> anon-access = write" > repos/conf/svnserve.conf
> svn co svn://weinert/temp/repos work
> cd work
> ls -la /usr/bin > file1
> ls /usr/bin > file2
> svn add file*
> svn ci -m ""
>
> cp ../repos/db/current ../db.1
>
> for (( TESTNUM=1 ; TESTNUM<=50 ; ++TESTNUM )) ; do
> echo "========================= $TESTNUM ========================="
> cp file1 file1.1
> cp file1 file1.2
> cp file1 file1.3
> svn add file1.*
> cp file1 file2
> svn ci -m ""
> svn up -r HEAD
> svn up -r PREV
> cp ../db.1 ../repos/db/current
> svn up
> done
> cd ..
>
> #end of script
>
> After running this script with
> $ ./doit.sh >out 2>&1
>
> I get (e.g.):
> $ cat out | grep "^=\|svn:" | grep -B 1 svn:
> ========================= 29 =========================
> svn: Can't move '.svn/tmp/entries' to '.svn/entries': Permission denied
>
> When I run this script while no other (significant) process is running I
> sometimes don't get any errors but when there is e.g. a compile job
> running in the same time I get several errors, often leading to a locked
> wc:
> ========================= 24 =========================
> A file1.1
> A file1.2
> A file1.3
> Adding file1.1
> Adding file1.2
> Adding file1.3
> Sending file2
> Transmitting file data ....
> Committed revision 2.
> At revision 2.
> svn: In directory '.'
> svn: Error processing command 'delete-entry' in '.'
> svn: Can't move '.svn/tmp/entries' to '.svn/entries': Permission denied
> D file1.1
> svn: Working copy '.' locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
>
[...]
>
> My VirusScan is called "McAfee VirusScan v4.5.1 SP1". So may be you
> have to change "always the latest version" to "always with latest
> virus definitions".
>
Hi Max,
did you have time to test my script?
Some days ago there was again someone reporting such a problem (with
Subversion on cygwin) on the users list:
> The error:
> svn co svn+ssh://.....
> .... numerous successfully checked out files
> A bios/iom/1stscrn/makdemo.exe
> A bios/iom/1stscrn/makscrn.exe
> svn: Can't move 'bios/iom/.svn/tmp/entries' to 'bios/iom/.svn/entries': Permission denied
So it seems that it happens on many different installations around.
Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 30 08:34:06 2006