Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
all
-
None
Description
Most move and copy operations work, but at least one fails: moving (or copying) a file or directory to the root of the repository. Reproduction recipe and transcript below. This demonstrates the bug with mv, but it also happens with cp. The same thing happens if 'subdir' is a file instead of a directory. svnadmin create repo svn mkdir -m '' svn://localhost$PWD/repo/dir svn mkdir -m '' svn://localhost$PWD/repo/dir/subdir svn mv -m '' svn://localhost$PWD/repo/dir/subdir/ svn://localhost$PWD/repo/dir/ 0 ra_svntests% svnadmin create repo 0 ra_svntests% svn mkdir -m '' svn://localhost$PWD/repo/dir Committed revision 1. 0 ra_svntests% svn mkdir -m '' svn://localhost$PWD/repo/dir/subdir Committed revision 2. 0 ra_svntests% svn mv -m '' svn://localhost$PWD/repo/dir/subdir/ svn://localhos t$PWD/repo/dir/ assertion "opt > 0 || cstr" failed: file "/u/epg/work/svn/trunk/subversion/libs vn_ra_svn/marshal.c", line 315, function "vwrite_tuple" zsh: abort (core dumped) svn mv -m '' svn://localhost$PWD/repo/dir/subdir/
Original issue reported by epg