[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-07-08 17:18:04 CEST

Thanks, Martin... I'm going to file this bug. I can definitely
reproduce this. :-)

Martin Pool <mbp@sourcefrog.net> writes:

> With a new --disable-static build, which I'm almost certain is not
> linking against anything older, this happens:
>
> mbp/3 trunk$ svn mkdir bar
> A bar
> mbp/3 trunk$ svn commit -m 'add bar'
> Adding bar
> svn r
> Committed revision 20.
> mbp/3 trunk$ svn rm bar
> D bar
> mbp/3 trunk$ ls -la
> total 16
> drwxrwxr-x 4 mbp mbp 4096 07-08 10:19 .
> drwxrwxr-x 4 mbp mbp 4096 07-07 15:45 ..
> drwxrwxr-x 3 mbp mbp 4096 07-08 10:19 bar
> drwxrwxr-x 8 mbp mbp 4096 07-07 02:10 .svn
> mbp/3 trunk$ svn up
>
> subversion/libsvn_wc/update_editor.c:621
> svn_error: #21038 : <Obstructed update>
> failed to add directory './bar': object of the same name already exists
>
> mbp/3 trunk$ svn commit -m 'kill bar'
> Deleting bar
>
> Committed revision 21.
> mbp/3 trunk$ ls -la
> total 16
> drwxrwxr-x 4 mbp mbp 4096 07-08 10:19 .
> drwxrwxr-x 4 mbp mbp 4096 07-07 15:45 ..
> drwxrwxr-x 2 mbp mbp 4096 07-08 10:21 bar
> drwxrwxr-x 8 mbp mbp 4096 07-07 02:10 .svn
> mbp/3 trunk$ svn up
>
> subversion/libsvn_fs/tree.c:178
> svn_error: #21068 : <Filesystem has no item>
> file not found: transaction `w', path `/trunk/bar'
>
> mbp/3 trunk$ ls -l `which svn`
> -rwxr-xr-x 1 root root 2809604 07-08 10:16 /usr/local/bin/svn
> mbp/3 trunk$ svn --version
> Subversion Client, version 0.13.2 (dev build)
> compiled Jul 8 2002, 09:54:45
>
> Copyright (C) 2000-2002 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
>
> The following repository access (RA) modules are available:
>
> * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
> - handles 'http' schema
> * ra_local : Module for accessing a repository on local disk.
> - handles 'file' schema
>
> mbp/3 trunk$ ldd `which svn`
> libgdbm.so.1 => /usr/lib/libgdbm.so.1 (0x40022000)
> libdb.so.2 => /lib/libdb.so.2 (0x40028000)
> libexpat.so.0 => /usr/local/lib/libexpat.so.0 (0x40035000)
> libxml2.so.2 => /home/mbp/garnome/lib/libxml2.so.2 (0x40051000)
> libz.so.1 => /usr/lib/libz.so.1 (0x400f4000)
> libm.so.6 => /lib/libm.so.6 (0x40104000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x40125000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x40152000)
> libdl.so.2 => /lib/libdl.so.2 (0x40166000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x40169000)
> libc.so.6 => /lib/libc.so.6 (0x4017d000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40299000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
>
> --
> Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 8 17:22:31 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.