[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Commiting deletion not checking svn:needs-lock?

From: Miller, Eric <Eric.Miller_at_amd.com>
Date: 2007-09-24 22:38:59 CEST

Could someone verify this bug for me? I set needs-lock on a file but
commit seems to ignore it when deletions are concerned:

[10]% mkdir test_lock

[11]% touch test_lock/lockme

[12]% svn add test_lock/
A test_lock
A test_lock/lockme

[13]% svn propset svn:needs-lock '*' test_lock/lockme
property 'svn:needs-lock' set on 'test_lock/lockme'

[14]% svn ci -m '' test_lock
Adding test_lock
Adding test_lock/lockme
Transmitting file data .
Committed revision 8.

[15]% svn st -u test_lock
Status against revision: 8

[16]% svn rm test_lock
D test_lock/lockme
D test_lock

[17]% svn ci -m 'this should fail - no lock on lockme' test_lock
Deleting test_lock

Committed revision 9.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 24 22:40:08 2007

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.