You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by makl <ma...@tigris.org> on 2004/03/21 11:42:27 UTC

[Issue 1797] non-recursive delete of directory tree fails

> $ svn mkdir wc/foo wc/foo/bar
 > $ svn ci wc -m "create"
 > $ svn rm wc/foo
 >
 > A non-recursive commit of both directories fails:
 >
 > $ svn ci wc/foo wc/foo/bar -N -m "commit fail"
 > Deleting       wc/foo
 > ../svn/subversion/libsvn_client/commit.c:747: (apr_err=160028)
 > svn: Commit failed (details follow):
 > ../svn/subversion/libsvn_repos/commit.c:114: (apr_err=160028)
 > svn: Out of date: 'foo' in transaction '2'
 > ../svn/subversion/clients/cmdline/util.c:348: (apr_err=160028)
 > svn: Your commit message was left in a temporary file:
 > ../svn/subversion/clients/cmdline/util.c:349: (apr_err=160028)
 > svn:    '/home/pm/sw/subversion/obj/wc/svn-commit.tmp'

This part of the issue is a general commit problem and not limited to
the deletion of subdirectories.

$ svn --version
svn, version 1.0.0
    compiled Feb 25 2004, 18:32:49
[...]

$ svnadmin create --bdb-txn-nosync repo
$ svn co file:///g:/repos/repo wc1
$ svn mkdir wc1/foo
$ svn ci wc1 -m "r1"

$ svn propset customprop customvalue wc1
$ time /t  1>wc1\foo\file2
$ svn add wc1\foo\file2

$ svn ci wc1 wc1/foo/file2 -N -m "commit fail"
svn: Commit failed (details follow):
svn: Out of date: '' in transaction '2'
Sending        wc1


I think that Stefan and other authors of clients will have a large 
problem with the present behavior.

IMHO is this a priority P1 defect (Bad first impression).



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