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

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

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-13 16:32:38 CEST

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_at_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_at_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
Received on Fri Aug 13 16:33:38 2004

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