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

Bug report against SVN 1.6.13

From: Paul Maier <svn-user_at_web.de>
Date: Thu, 14 Oct 2010 01:42:36 +0200

Hi there!
 
file b should be read-write here; what do you think:
 
 
Reproduction script:
--------------------
svn --version
svnadmin create xx
svn co "file:///C:/[...]/xx" yy
cd yy
echo a > a
svn add a
svn propset svn:needs-lock "*" a
svn ci -m ""
svn up
svn cp a b
ls -lA
 
 
Observed behaviour:
-------------------
File b is read-only.
No svn command is available to make file b read-write.
svn lock won't do, because file b is not in the repository yet.
Even a "svn lock a" before the copy doesn't help out.
 
 
Expected behaviour:
-------------------
File b is read-write.
Files without representation in the repository (files that come from a
uncommitted svn cp or svn mv) should be read-write regardless
svn:needs-lock setting.
 
 
Full console output follows:
----------------------------
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue>svn --version
svn, Version 1.6.13 (r1002816)
   Übersetzt Oct 3 2010, 23:19:41
[...]
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue>svnadmin create xx
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue>svn co "file:///C:/Dokumente und Einstellungen/Test2/Desktop/SvnIssue/xx" yy
Ausgecheckt, Revision 0.
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue>cd yy
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue\yy>echo a 1>a
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue\yy>svn add a
A a
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue\yy>svn propset svn:needs-lock "*" a
Eigenschaft "svn:needs-lock" für "a" gesetzt
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue\yy>svn ci -m ""
Hinzufügen a
Übertrage Daten .
Revision 1 übertragen.
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue\yy>svn up
Revision 1.
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue\yy>svn cp a b
A b
 
C:\Dokumente und Einstellungen\Test2\Desktop\SvnIssue\yy>ls -lA
total 2
drwxr-xr-x 6 administ Kein 0 Oct 11 20:10 .svn
-r--r--r-- 1 administ Kein 4 Oct 11 20:10 a
-r--r--r-- 1 administ Kein 4 Oct 11 20:10 b
 
 
 
What do you think?
 
With kind regards,
  Paul
 
Received on 2010-10-14 01:43:18 CEST

This is an archived mail posted to the Subversion Users mailing list.