Hi
I think i've found a bug. I have not found it in the issue database on
tigris.org.
If you run svnserve and restrict the rights for your user to readonly,
svn will stop with the message "svn: warning: (null)" and cannot be
terminated. You have to kill (kill -9) the process. That nothing i
expect from such a lovely program like svn...
I've included a testcase for linux in this mail. I have SuSE Linux 10.0
with subversion 1.3.0. I also tried this with subversion 1.3.2 (self
compiled from subversion-1.3.2.tar.bz2). In the end of this mail a added
the output of the testcase.
johannes Holzer
P.S.:
PLEASE ATTENTION:
This script will send a kill Signal to any running svnserve process and
will remove some files in the current directory.
-> Run the script NOT on a production machine (of cause!!)
-> Run the script inside an empty directory.
-> Look inside before running :-)
Output ($LANG=de_DE.UTF-8):
hl@hlpc:/tmp/hl/src/svn/testcase_svn_lock> bash -x ./locktest.sh
+ rm -rf repo wc
+ pkill svnserve
+ svnadmin create repo
+ echo '[general]'
+ echo 'anon-access = write'
+ svnserve -dr .
+ svn co svn://localhost/repo wc
Ausgecheckt, Revision 0.
+ touch wc/file
+ svn add wc/file
A wc/file
+ svn ci wc/file -m 'adding a testfile'
Hinzufügen wc/file
Übertrage Daten .
Revision 1 übertragen.
+ echo '[general]'
+ echo 'anon-access = read'
+ echo 'auth-access = write'
+ echo 'password-db = passwd'
+ echo 'authz-db = authzfile'
+ echo '[users]'
+ echo 'me = me'
+ echo '[/]'
+ echo me=r
+ pkill svnserve
+ usleep 100
+ svnserve -dr .
+ set +x
___ pkill svn ___ (TERM) wont work.
___ pkill -9 svn ___ (KILL) will kill the process
+ svn lock wc/file --username=me --password=me
svn: warnung: (null)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 18 15:28:33 2006