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

subversion checkouts on NFS mounts don't work? Malformed XML error....

From: Peter Valdemar Mørch <pm_at_capmon.dk>
Date: 2005-03-18 17:58:17 CET

There is a particular directory, where if I check it out so the working
copy is on an NFS mount, the resulting .svn/entries is corrupt. If I
check it out to locally mounted /tmp it is fine.

build@zaphod:~/b.nfs$ svn up
svn: XML parser failed in ''
svn: Malformed XML: not well-formed (invalid token) at line 44

$ tail -n 2 /home/build/b.nfs/.svn/entries
</wc-entries>
88"/>

What's up with the line:
88">
at the end of /home/build/b.nfs/.svn/entries?

Anybody have any idea what is up?

The common answer to the "Malformed XML error" question is something
about weird chars, but:
$ find . -type f |perl -ne 'chomp; print "$_\n" if
m|[^-A-Za-z0-9_/\.~]|;' |od -a
0000000
$ echo -n '' | od -a
0000000
So to me that looks like all file names are fine.

(I'm a little hesitant to place a tarball of our code on the net! :-D
But maybe we can arrange something off-list...)

Cheers,

Peter
-----------------------------------------------------------

Dump from terminal...

build@zaphod:~$ mount
/dev/sda2 on / type reiserfs (rw,notail)
<snip>
kosh:/home/build/zaphod on /home/build type nfs
(rw,nosuid,nodev,rsize=4096,wsize=4096,hard,intr,addr=10.10.10.199)

build@zaphod:~$ svn co $wr/trunk/capmon/cgi/images/buttons/
/home/build/b.nfs
A /home/build/b.nfs/NavBtnEnd.png
A /home/build/b.nfs/NavBtnStart.png
A /home/build/b.nfs/NavBtnTile.png
A /home/build/b.nfs/CVS
A /home/build/b.nfs/CVS/Repository
A /home/build/b.nfs/CVS/Root
A /home/build/b.nfs/CVS/Entries
Checked out revision 5161.
build@zaphod:~$ svn co $wr/trunk/capmon/cgi/images/buttons/ /tmp/b.no_nfs
A /tmp/b.no_nfs/NavBtnEnd.png
A /tmp/b.no_nfs/NavBtnStart.png
A /tmp/b.no_nfs/NavBtnTile.png
A /tmp/b.no_nfs/CVS
A /tmp/b.no_nfs/CVS/Repository
A /tmp/b.no_nfs/CVS/Root
A /tmp/b.no_nfs/CVS/Entries
Checked out revision 5161.
build@zaphod:~$ cd /tmp/b.no_nfs/
build@zaphod:/tmp/b.no_nfs$ svn up
At revision 5161.
build@zaphod:/tmp/b.no_nfs$ cd /home/build/b.nfs/
build@zaphod:~/b.nfs$ svn up
svn: XML parser failed in ''
svn: Malformed XML: not well-formed (invalid token) at line 44
build@zaphod:~/b.nfs$ tail /home/build/b.nfs/.svn/entries
    committed-date="2003-10-03T11:12:59.156589Z"
    checksum="74de6a592a790a15c78b8af64161dcfa"
    last-author="pvm"
    kind="file"
    prop-time="2005-03-18T16:34:18.000000Z"/>
<entry
    name="CVS"
    kind="dir"/>
</wc-entries>
88"/>
build@zaphod:~/b.nfs$ tail /tmp/b.no_nfs/.svn/entries
    text-time="2005-03-18T16:34:29.000000Z"
    committed-date="2003-10-03T11:12:59.156589Z"
    checksum="74de6a592a790a15c78b8af64161dcfa"
    last-author="pvm"
    kind="file"
    prop-time="2005-03-18T16:34:29.000000Z"/>
<entry
    name="CVS"
    kind="dir"/>
</wc-entries>
build@zaphod:~/b.nfs$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 21 15:32:40 2005

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