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

Re: Different .svn directory breakage - Malformed XML

From: Paul Wayper <paul.wayper_at_anu.edu.au>
Date: 2005-06-07 02:50:34 CEST

John Szakmeister wrote:

>>Ah, here we are...
>>
>>[paulway@biojanus seqnamer]$ svn diff
>>svn: XML parser failed in ''
>>svn: Malformed XML: junk after document element at line 33
>>[paulway@biojanus seqnamer]$ lineify.pl --context 3 --line 33
>>.svn/entries 30: prop-time="2005-06-02T05:46:15.000000Z"
>>31: revision="6"/>
>>32: </wc-entries>
>>33: 0 if not defined $i;
>>34: if (ref $v eq '') {
>>35: print indent($i), defined $v ? "'$v'\n" : "<undef>\n";
>>36: } elsif (ref $v eq 'ARRAY') {
>>
>>Note that line 33 actually starts in the middle of a line of Perl,
>>which is what I'm working on in this repository. This to me implies
>>that CFS, or NFS is not clearing its buffers when doing a write, and
>>the entries file should finish at line 32. Am I right in these
>>guesses?
>>
>>
>
>I doubt that's the case... we have no concept of what size NFS or CFS
>buffers are, and we certainly don't read in chunks based on their size.
>I'm curious where the offending text came from. Is it part of your
>post-commit hook? Is it part of the commit that you made?
>
It's part of the code I was committing. I was assuming that svn has
written the file correctly at the correct size but some weird
interaction between svn and NFS or CFS has caused the file size to grow
to the end of the block. Perhaps. Next time I'll do an ls on the file
size before and after any edits and verify whether it's on a block boundary.

>BTW, which
>backend are you using?
>
The standard subversion client in the package for Fedora Core 3, X86-64
version. I just upgraded to 1.2.0 yesterday, prior to that I was
running 1.1.4.

> BDB requires the ability to mmap() some of it's
>files, and that generally doesn't work over any remote FS implementation
>(NFS, SMB, or otherwise). FSFS is the only way to go for that sort of
>setup.
>
>
The backend is running on a remote machine but the repository storage is
local to that machine. I'm aware of the problems with NFS and BDB and
amn't doing that.

Is the frontend using any kind of BDB? I thought it was all XML and diffs?

Thanks in advance,

Paul

-- 
-- Paul Wayper at ANU - +61 2 6125 0643
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 7 02:52:34 2005

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