Hello!

I would be interested, if this problem is fixed in the 
current 1.7 trunk.
svn cleanup should be able to repair and unlock the WC.
Unfortunately I am not able to build the trunk from source 
myself.
Here is a reproduction script that produces a corrupt WC, and no 
svn command can repair it, so the WC seems lost:

svnadmin create xx
svn co "file:///C:/[...]/xx" yy
cd yy
echo a > a
svn add a
svn ci -m ""
svn lock a
svn mkdir 1
mv a 1   # here "forgot" to type svn before the mv
svn ci -m ""
svn st -u
svn cleanup 1
svn cleanup .
svn st -u

The error message advises to use svn cleanup, but svn cleanup 
fails to unlock the WC. 
(Even though it would be possible:
  touch a;
  svn cleanup .
unlocks the WC.)


Console output follows:
-----------------------

>svnadmin create xx
>svn co "file:///C:/[...]/xx" yy
>cd yy
yy>echo a  1>a
yy>svn add a
yy>svn ci -m ""
yy>svn lock a
yy>svn mkdir 1
yy>mv a 1

yy>svn ci -m ""
Hinzufügen     1
svn: Übertragen erfolgreich, aber andere Fehler folgen:
svn: Fehler beim Weiterschalten der Revisionen nach der Übertragung (Details 
folgen):
svn: In Verzeichnis "[...]\yy"
svn: Fehler beim Bearbeiten des Befehls "committed" in "[...]\yy"
svn: Fehler beim Ermitteln der "letzten Änderungszeit" von "[...]\yy\a"
svn: Kann Status von "[...]\yy\a" nicht ermitteln: Das System kann die 
angegebene Datei nicht finden.

yy>svn st -u
!    B           1   a
?                    1\a
  L              2   1
  L              0   .
Status bezogen auf Revision:      2

yy>svn cleanup 1

yy>svn cleanup .
svn: In Verzeichnis "."
svn: Fehler beim Bearbeiten des Befehls "committed" in "."
svn: Fehler beim Ermitteln der "letzten Änderungszeit" von "a"
svn: Kann Status von "a" nicht ermitteln: Das System kann die angegebene Datei 
nicht finden.

yy>svn st -u
!    B           1   a
?                    1\a
  L              0   .
Status bezogen auf Revision:      2


Thanks & Regards,
  Paul

Reply via email to