You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Alexis Boutillier <al...@arteris.net> on 2006/03/06 09:27:40 UTC

[BUG] svn:needs-lock property on link pointing to non existing file

I try to set the svn:needs-lock property on a link pointing to a non 
existing file.
This lead to an error in the commit process :
Envoi          test
Envoi          toto/myToto
svn: Succès de la propagation (commit), mais erreurs :
svn: Error bumping revisions post-commit (details follow):
svn: Dans le répertoire '/home/alexis/bases/others/svnTest'
svn: Error processing command 'committed' in 
'/home/alexis/bases/others/svnTest'
svn: Error replacing text-base of 'test'
svn: Impossible de changer les permissions de lecture-écriture pour le 
fichier '/home/alexis/bases/others/svnTest/test': Aucun fichier ou 
répertoire de ce type

And then when I try to checkout those files :
A    svnTest2/test
A    svnTest2/toto
A    svnTest2/toto/bin
A    svnTest2/toto/bin/titi
A    svnTest2/toto/titi
A    svnTest2/toto/myToto
svn: Dans le répertoire 'svnTest2/toto'
svn: Impossible de changer les permissions de lecture-écriture pour le 
fichier 'svnTest2/toto/myToto': Aucun fichier ou répertoire de ce type



To reproduce the bug on an svn database :
ln -s ../nonExistingFile
svn add nonExistingFile
svn commit -m ""
svn propset svn:needs-lock '*' nonExistingFile
svn commit -m ""
--> first error on commit
svn co ....
--> Then it is impossible to checkout this file again.

svn version used :
svn, version 1.3.0 (r17949)
     compilé Jan 17 2006, 19:06:02

Database type : fsfs

Using apache web server.
-- 
Boutillier Alexis
Methodology engineer

Arteris SA
The Network-on-Chip Company TM
www.arteris.net

6 par Ariane Immeuble Mercure
78284 Guyancourt Cedex
France
Office: (+33) 1 61 37 38 71
Fax:    (+33) 1 61 37 38 41
Alexis.Boutillier@arteris.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org