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

bug: trying to schedule-replace a directory (was Re: new bug?)

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2006-01-31 03:23:45 CET

On 1/30/06, Julian Foad <julianfoad@btopenworld.com> wrote:
> Please change the Subject!

OK, subject changed, and repro recipe included directly now:

[sussman_at_sussman-mac:~/scratch]$ svn co file://`pwd`/myrepos wc
A wc/main.c
A wc/libsvn_delta
A wc/libsvn_delta/compose_delta.c
A wc/libsvn_delta/delta.h
A wc/libsvn_delta/svndiff.c
A wc/libsvn_delta/vdelta.c
A wc/libsvn_delta/xml_output.c
A wc/libsvn_delta/xdelta.c
A wc/libsvn_delta/cancel.c
A wc/libsvn_delta/version.c
A wc/libsvn_delta/README.xmlparse
A wc/libsvn_delta/path_driver.c
A wc/libsvn_delta/default_editor.c
A wc/libsvn_delta/xml_parse.c
A wc/libsvn_delta/text_delta.c
A wc/build.sh
A wc/build-test-wc.sh
A wc/Makefile
Checked out revision 1.
[sussman@sussman-mac:~/scratch]$ cd wc
[sussman@sussman-mac:~/scratch/wc]$ ls
Makefile build-test-wc.sh* libsvn_delta/
TODO build.sh* main.c
[sussman@sussman-mac:~/scratch/wc]$ svn rm libsvn_delta/
D libsvn_delta/compose_delta.c
D libsvn_delta/delta.h
D libsvn_delta/svndiff.c
D libsvn_delta/vdelta.c
D libsvn_delta/xml_output.c
D libsvn_delta/xdelta.c
D libsvn_delta/cancel.c
D libsvn_delta/version.c
D libsvn_delta/README.xmlparse
D libsvn_delta/path_driver.c
D libsvn_delta/default_editor.c
D libsvn_delta/xml_parse.c
D libsvn_delta/text_delta.c
D libsvn_delta
[sussman@sussman-mac:~/scratch/wc]$ ls
Makefile build-test-wc.sh* libsvn_delta/
TODO build.sh* main.c
[sussman@sussman-mac:~/scratch/wc]$ rm -rf libsvn_delta/
[sussman@sussman-mac:~/scratch/wc]$ ls
Makefile build-test-wc.sh* main.c
TODO build.sh*
[sussman@sussman-mac:~/scratch/wc]$ mkdir libsvn_delta
[sussman@sussman-mac:~/scratch/wc]$ svn add libsvn_delta
A libsvn_delta
subversion/libsvn_wc/lock.c:835: (apr_err=155005)
svn: Unable to lock 'libsvn_delta'
[sussman@sussman-mac:~/scratch/wc]$ svn st
R .
[sussman@sussman-mac:~/scratch/wc]$ ### what the???

Notice: I tried to replace libsvn_delta with a new directory by the
same name. Instead, I got a lock error and the *parent* directory is
now listed as schedule-replace!

This is not a new svn 1.4 thing; it also happens with a 1.2.3 client.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 31 03:24:14 2006

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.