Hello!
"svn up --set-depth infinity" fails to load a file from the repository into the WC,
when the directory previously has only partially been checked out and has been
copied and has not been checked in yet.
At the end of this reproduction script I would expect file "a" to be present in
directory "2", but it's not.
#!/bin/bash -v
svnadmin create xx
svn co 'file:///[...]/xx' yy
cd yy
svn mkdir 1
echo a > 1/a
svn add 1/a
svn ci -m ''
cd ..
rm -rf yy
svn co --depth immediates 'file:///[...]/xx' yy
cd yy
svn mv 1 2
svn up --set-depth infinity 2 % directory "2" is now fully checked out; no error message
svn list -v -r HEAD 2 % file "a" is in the repository ...
ls -lrtA 2 % ... but not in the WC
As a workaround I could check in, then it would work. But I don't want to check in
this partial finished work. So I lose my WC and have to start over, this time
fully checked out from the beginning.
Full console output follows:
svnadmin create xx
svn co 'file:///[...]/xx' yy
Ausgecheckt, Revision 0.
cd yy
svn mkdir 1
A 1
echo a > 1/a
svn add 1/a
A 1\a
svn ci -m ''
Hinzufügen 1
Hinzufügen 1\a
Übertrage Daten .
Revision 1 übertragen.
cd ..
rm -rf yy
svn co --depth immediates 'file:///[...]/xx' yy
A yy\1
Ausgecheckt, Revision 1.
cd yy
svn mv 1 2
A 2
D 1
svn up --set-depth infinity 2
Revision 1.
svn list -v -r HEAD 2
1 User2 20. Jan 01:16 ./
1 User2 2 20. Jan 01:16 a
ls -lrtA 2
insgesamt 0
drwxr-xr-x+ 1 User2 Kein 0 20. Jan 01:16 .svn
Regards,
Paul
Received on 2011-01-20 15:14:03 CET