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

Re: reproducible mkdir/rmdir bug?

From: Martin Pool <mbp_at_sourcefrog.net>
Date: 2002-07-10 14:01:29 CEST

I am sorry to report that there still seems to be a bug in r2451,
though it has changed from last time. After a directory is rm'd, it
never seems to go away.

Here it is, without quote marks:

mbp/2 svnbug1$ svnadmin create /home/mbp/work/svnbug1/repo
mbp/2 svnbug1$ svn mkdir -m'Create trunk' file:///home/mbp/work/svnbug1/repo/trunk

Committed revision 1.
mbp/2 svnbug1$ svn co file:///home/mbp/work/svnbug1/repo/trunk
Checked out revision 1.
mbp/2 svnbug1$ cd trunk/
mbp/2 trunk$ svn mkdir foo
A foo
mbp/2 trunk$ svn commit -m 'make foo'
Adding foo

Committed revision 2.
mbp/2 trunk$ svn rm foo
D foo
mbp/2 trunk$ svn up
At revision 2.
mbp/2 trunk$ ls -l
total 4
drwxrwxr-x 3 mbp mbp 4096 Jul 10 21:53 foo
mbp/2 trunk$ svn commit -m 'kill foo'
Deleting foo

Committed revision 3.
mbp/2 trunk$ ls -la
total 16
drwxrwxr-x 4 mbp mbp 4096 Jul 10 21:53 .
drwxrwxr-x 4 mbp mbp 4096 Jul 10 21:53 ..
drwxrwxr-x 8 mbp mbp 4096 Jul 10 21:53 .svn
drwxrwxr-x 2 mbp mbp 4096 Jul 10 21:53 foo
mbp/2 trunk$ cat .svn/entries
<?xml version="1.0" encoding="utf-8"?>
<wc-entries
   xmlns="svn:">
<entry
   committed-rev="2"
   name="svn:this_dir"
   committed-date="2002-07-10T11:53:20.609326Z"
   url="file:///home/mbp/work/svnbug1/repo/trunk"
   last-author="mbp"
   kind="dir"
   revision="2"/>
<entry
   name="foo"
   kind="dir"
   deleted="true"/>
</wc-entries>
mbp/2 trunk$ svn up
At revision 3.
mbp/2 trunk$ svn up foo

subversion/libsvn_wc/entries.c:625
svn_error: #21043 : <Path is not a working copy directory>
  svn_wc_entry: foo is not a working copy directory
mbp/2 trunk$ ls -la
total 16
drwxrwxr-x 4 mbp mbp 4096 Jul 10 21:53 .
drwxrwxr-x 4 mbp mbp 4096 Jul 10 21:53 ..
drwxrwxr-x 8 mbp mbp 4096 Jul 10 21:53 .svn
drwxrwxr-x 2 mbp mbp 4096 Jul 10 21:53 foo
mbp/2 trunk$ ls -l `which svn ` `which svnadmin`
-rwxr-xr-x 1 root root 2835384 Jul 10 21:06 /usr/local/bin/svn
-rwxr-xr-x 1 root root 1563300 Jul 10 21:06 /usr/local/bin/svnadmin
mbp/2 trunk$ cd ../
mbp/2 svnbug1$ svn co -d trunk2 file:///home/mbp/work/svnbug1/repo/trunk
Checked out revision 3.
mbp/2 svnbug1$ ls -l trunk2
total 0

-- 
Martin 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 10 14:02:14 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.