You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Phippard <ma...@gmail.com> on 2011/04/15 16:22:51 UTC
Possible bug when committing deletes?
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
notes/tree-conflicts/resolution.txt
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.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/