You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2004/08/13 14:32:38 UTC

Re: Bug during 'update' when locally modified directory got deleted i n repository.

On Fri, 2004-08-13 at 03:13, Oliver Preusche wrote:
> Hi,
> 
> sorry I do not know if this bug has been reported earlier.
> It seems to be a little bug, but it is quite time-consuming for me.

This was fixed in svn 1.1.  See my transcript below.



[sussman@kepler:~/scratch]$ svnadmin create repos
[sussman@kepler:~/scratch]$ svn co file://`pwd`/repos wc
Checked out revision 0.
[sussman@kepler:~/scratch]$ cd wc
[sussman@kepler:~/scratch/wc]$ svn mkdir A
A         A
[sussman@kepler:~/scratch/wc]$ svn mkdir A/B
A         A/B
[sussman@kepler:~/scratch/wc]$ svn st
A      A
A      A/B
[sussman@kepler:~/scratch/wc]$ svn ci -m "add two dirs"
Adding         A
Adding         A/B
 
Committed revision 1.
[sussman@kepler:~/scratch/wc]$ svn up
At revision 1.
[sussman@kepler:~/scratch/wc]$ cd ..
[sussman@kepler:~/scratch]$ svn co file://`pwd`/repos wc-other
A  wc-other/A
A  wc-other/A/B
Checked out revision 1.
[sussman@kepler:~/scratch]$ cd wc-other/
[sussman@kepler:~/scratch/wc-other]$ svn rm A/B
D         A/B
[sussman@kepler:~/scratch/wc-other]$ svn ci -m "delete B"
Deleting       A/B
 
Committed revision 2.
[sussman@kepler:~/scratch/wc-other]$ cd ..
[sussman@kepler:~/scratch]$ cd wc
[sussman@kepler:~/scratch/wc]$ touch A/B/newfile
[sussman@kepler:~/scratch/wc]$ svn add A/B/newfile
A         A/B/newfile
[sussman@kepler:~/scratch/wc]$ svn st
A      A/B/newfile
[sussman@kepler:~/scratch/wc]$ svn up
D  A/B
Updated to revision 2.
[sussman@kepler:~/scratch/wc]$ svn st
?      A/B
[sussman@kepler:~/scratch/wc]$ ls A
B/
[sussman@kepler:~/scratch/wc]$ ls A/B
newfile



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