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

Re: checksumming crap

From: <lele_at_seldati.it>
Date: 2003-01-26 03:31:19 CET

 On 25 Jan 2003 11:33:51 -0600, Karl Fogel kfogel@newton.ch.collab.net said:

    KF So far, we've had a couple of reports of checksum mismatches,
    KF all from that same place in apply_window(). None of them have
    KF been reproducible, in the sense of a recipe that a) anyone can
    KF run, and b) reproduces the problem every time.

    KF If you can come up with such a recipe, that would be a HUGE
    KF help. You're one of the few people encountering this error
    KF right now, so you're in a unique position to narrow this down
    KF to a minimal, packageable recipe. Will you have time to do
    KF that?

Well, it seems that there is one more case. It happened right now to
me, and since I'm going to sleep, this is just to record the situation
here: the repos is very simple, and has been created a month ago, and
if needed I may eventually share it.

I was accessing it with

$ svn --version
svn, version 0.16.1 (dev build)
   compiled Jan 15 2003, 00:39:36

via http, with svn_dav 0.16.0. I was editing a new version of a
LyX document, that I wrongly created with its Save As option.

At this point, I did:
$ svn st
? AttoCostitutivo.lyx~
M PropostaStatutoSCR.lyx
? PropostaStatutoSCR.lyx~
? PropostaStatutoSCR.pdf
? PropostaStatutoSCR.ps
? PropostaStatutoSCR.txt
? StatutoSCR.lyx~
? StatutoSCR.pdf
? StatutoSCR.ps
? StatutoSCR_Compatto.lyx
? StatutoSCR_Compatto.ps

Uhm, I realized that I should have svn copied it instead, so I moved
it out of the way:

$ mv StatutoSCR_Compatto.lyx /tmp
$ svn cp StatutoSCR.lyx StatutoSCR_Compatto.lyx
$ svn st
? AttoCostitutivo.lyx~
M PropostaStatutoSCR.lyx
? PropostaStatutoSCR.lyx~
? PropostaStatutoSCR.pdf
? PropostaStatutoSCR.ps
? PropostaStatutoSCR.txt
? StatutoSCR.lyx~
? StatutoSCR.pdf
? StatutoSCR.ps
A + StatutoSCR_Compatto.lyx
? StatutoSCR_Compatto.ps
$ svn ci -m Copiato lo Statuto corrente per farne una versione
compatta StatutoSCR_Compatto.lyx
Adding StatutoSCR_Compatto.lyx

Committed revision 17.
$ cp /tmp/StatutoSCR_Compatto.lyx .
$ svn st
? AttoCostitutivo.lyx~
M PropostaStatutoSCR.lyx
? PropostaStatutoSCR.lyx~
? PropostaStatutoSCR.pdf
? PropostaStatutoSCR.ps
? PropostaStatutoSCR.txt
? StatutoSCR.lyx~
? StatutoSCR.pdf
? StatutoSCR.ps
M StatutoSCR_Compatto.lyx
? StatutoSCR_Compatto.ps
$ svn ci -m Reso su due colonne, eliminata la lista dei fondatori StatutoSCR_Compatto.lyx
Sending StatutoSCR_Compatto.lyx
Transmitting file data .svn: Working copy text base is corrupt
svn: Commit failed (details follow):
svn: svn_wc_transmit_text_deltas: checksum mismatch for '/home/lele/Scarambol/Documenti/.svn/text-base/StatutoSCR_Compatto.lyx.svn-base':
   recorded checksum: f86e0240984a0240d81d0908a01d0908
   actual checksum (hex): cb6161ca16f9984bd26b25a07c1f6b15
   actual checksum (base64): y2Fhyhb5mEvSayWgfB9rFQ==

I freezed current repository (and I was surprised to find that a
tar.gz of it was 30Mb (!), starting from 46Mb, while a tar.bz2 was
just 14Mb (yes, less than half the gzipped one!)) for future
reference, and I'm building latest revision... and in a while I will
repeat the commit with newer client, then I will update the svn_dav
side of the matter... [... me lurking around waiting ...]

While waiting, I notice that the actual checksum matches that of the
text base version, while the record checksum comes from the entries
file for the working copy:
entry
   committed-rev=17
   name=StatutoSCR_Compatto.lyx
   committed-date=2003-01-26T01:17:28.677353Z
   checksum=f86e0240984a0240d81d0908a01d0908
   last-author=lele
   kind=file
   revision=17/

Ok, so now I have the latest client:
$ svn --version
svn, version 0.17.1 (dev build)
   compiled Jan 26 2003, 02:55:40

and I repeat the last commit, that as I was supposing it emits the
very same message:
$ svn ci -m Reso su due colonne, eliminata la lista dei fondatori StatutoSCR_Compatto.lyx
Sending StatutoSCR_Compatto.lyx
Transmitting file data .svn: Working copy text base is corrupt
svn: Commit failed (details follow):
svn: svn_wc_transmit_text_deltas: checksum mismatch for '/home/lele/Scarambol/Documenti/.svn/text-base/StatutoSCR_Compatto.lyx.svn-base':
   recorded checksum: f86e0240984a0240d81d0908a01d0908
   actual checksum (hex): cb6161ca16f9984bd26b25a07c1f6b15
   actual checksum (base64): y2Fhyhb5mEvSayWgfB9rFQ==

Argh, the new client receives a plonk from the old dav, although an
svn st works:
$ svn cat http://caia:8888/svn/Scarambol/Documenti/StatutoSCR_Compatto.lyx /tmp/p.lyx
svn: RA layer request failed
svn: PROPFIND of /: Could not read status line: Connessione abbattuta dal corrispondente

I'm tired, and will go on tomorrow on the server side. But as a last
try, I:

$ cd /tmp
$ mkdir p
$ cd p
$ svn co svn://caia/Scarambol .
...
Checked out revision 17.
$ cd p/Documenti
$ cp ~/Scarambol/Documenti/Statuto_SCR_Compatto.lyx .
$ svn st
M StatutoSCR_Compatto.lyx
$ svn ci -m Reso su due colonne, eliminata la lista dei fondatori StatutoSCR_Compatto.lyx
Sending StatutoSCR_Compatto.lyx
Transmitting file data .
Committed revision 18.

as expected, since svn doesn't use checksums. A subsequent svn cat |
diff shows no differences ;-)

my bed is going away if I do not reach it in a minute, but most of you
are just awakening, so if anyone, after the needed caffeine or
surrogate, suggests a test or something, I will try to do my best
tomorrow |-)

ciao, lele.

-- 
nickname: Lele Gaifax	| Quando vivr� di quello che ho pensato ieri
real: Emanuele Gaifas	| comincer� ad aver paura di chi mi copia.
email: lele@seldati.it	|		-- Fortunato Depero, 1929.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:18:00 2006

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