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

ra_svn bugs

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2003-01-13 17:58:10 CET

I can't remember if these have been reported yet or not, but they
are not in Issuezilla. The hook output issue certaily sounds
familiar. Shall i file the issues?

First, output from the hooks causes ra_svn to bomb like this:

svn: Malformed network data
svn: Commit failed (details follow):
/usr/local/src/svn/trunk/subversion/libsvn_ra_svn/marshal.c:441:
(apr_err=210004)
svn: Malformed network data

I just redirected stdout and stderr to /dev/null to work around it.

Second, 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://localhost$PWD/repo/dir/
assertion "opt > 0 || cstr" failed: file "/u/epg/work/svn/trunk/subversion/libsvn_ra_svn/marshal.c", line 315, function "vwrite_tuple"
zsh: abort (core dumped) svn mv -m '' svn://localhost$PWD/repo/dir/subdir/

-- 
Eric Gillespie, Jr. <*> epg@pretzelnet.org
Build a fire for a man, and he'll be warm for a day.  Set a man on
fire, and he'll be warm for the rest of his life. -Terry Pratchett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 13 17:58:53 2003

This is an archived mail posted to the Subversion Dev mailing list.