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

Different .svn directory breakage - Malformed XML

From: Paul Wayper <paul.wayper_at_anu.edu.au>
Date: 2005-06-06 03:47:58 CEST

Hi there,

I'm working on a set of projects for which I need to keep the source
code secure should the machine be stolen. This means using CFS - for
those unfamiliar with this, it runs a sort of NFS daemon which does the
de/encryption in memory, and when you supply the correct pass phrase it
attaches an NFS mount point to the decrypted version of your encrypted
directory. There are a whole set of associated risks which we've
reduced and accepted. Let's not go into the whys.

Anyway, the problem is that sometimes on a svn commit I get a message
along the lines of:

Transmitting file data ..svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: Malformed XML: mismatched tag at line 33

Looking at the XML, it seems to basically get corrupted at that point -
I'm not familiar with the XML structure in question but it either goes
into the content of another file or it seems to skip a big chunk of XML
and doesn't close tags correctly or similar. I can only assume that
there's some type of flocking going on that the virtual NFS server
doesn't like. The only solution I've found is to delete the entire
directory and check it out again, since the commit has worked and the
repository is up to date. I've scanned through the archives and this
seems to be different from the various other XML breakage mentioned on
the list.

My question is: given my constraint that I use CFS, is there a way I can
avoid this problem? Or, alternately, is there a better way of
rebuilding after this error? I had assumed that the working copy used
BerkeleyDB (which would have problems on NFS), but it looks like it
doesn't at all. Anything else I should check?

When it happens again I'll post a fragment of the XML around the
offending line, if that would be helpful.

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 Mon Jun 6 03:50:11 2005

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