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

Possible bug when committing deletes?

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 15 Apr 2011 10:22:51 -0400

I am playing around with 1.7 in Subclipse. I deleted a folder. Here is status:

$ svn st
D notes/tree-conflicts
D notes/tree-conflicts/resolution.txt
D notes/tree-conflicts/requirements.txt
D notes/tree-conflicts/all-tests.sh
D notes/tree-conflicts/use-cases.txt
D notes/tree-conflicts/use-cases-resolution.txt
D notes/tree-conflicts/scratch-pad.txt
D notes/tree-conflicts/design-overview.txt
D notes/tree-conflicts/detection.txt

I do not recall if 1.6 showed all the files or not.

In Subclipse, when you do a commit, you get a GUI dialog that will
show all of the above items. When we call the commit API, we will
then list all of these paths. This is what happens:

$ svn ci -m "Commit remove of folder" notes/tree-conflicts
Deleting notes/tree-conflicts
subversion/svn/commit-cmd.c:208: (apr_err=160016)
subversion/libsvn_client/commit.c:846: (apr_err=160016)
svn: E160016: Commit failed (details follow):
subversion/libsvn_client/commit_util.c:1486: (apr_err=160016)
subversion/libsvn_client/commit_util.c:1486: (apr_err=160016)
subversion/libsvn_delta/path_driver.c:241: (apr_err=160016)
subversion/libsvn_delta/path_driver.c:72: (apr_err=160016)
subversion/libsvn_repos/commit.c:442: (apr_err=160016)
svn: E160016: Path 'tree-conflicts' not present

If I only name the folder, then it works:

$ svn ci -m "Commit remove of folder" notes/tree-conflicts
Deleting notes/tree-conflicts

Committed revision 254.

Mark Phippard
Received on 2011-04-15 16:23:25 CEST

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.