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

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

From: makl <makl_at_tigris.org>
Date: 2004-03-21 12:42:27 CET

> $ 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
Received on Sun Mar 21 12:40:31 2004

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.