Checksum mismatch during svnadmin load
Victor Engmark <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Using cvs2svn version 2.3.0 and svnadmin version 1.6.15, I get a
reproducible difference in the checksum of a single file. I've tried
with the "--eol-from-mime-type" and "--use-cvs" options separately,
and running `cvs admin -kb .../function.gif`, but I get the same
result. It looks like the file is treated like a binary (unless the
"Text-content-length" below indicates otherwise). At this point I've
no idea what could be wrong, unless it's the newline in the file
contents (between "?^A" and "&lH") that is not somehow properly
escaped. The md5sum of the file in the checkout matches the
"Text-content-md5" value below.
Dump file contents:
Node-path: .../function.gif
Node-kind: file
Node-action: add
Prop-content-length: 43
Text-content-length: 895
Text-content-md5: 84af16d890e6a8ce052cdaeefce1627f
Content-length: 938
K 13
svn:mime-type
V 9
image/gif
PROPS-END
GIF89a^P^@^P^@?^@^@?^@?^@^@^@PPP???????^@^@?^@@^@^@?^@@??^@?@^@@??^@???^@??@?????^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@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,?0%Ë^B%^V^@0s?Í7G.?i?#F?=??^L?2?P??ozD?S?Ï^A^A^@;
Command output:
# cat /tmp/${PKG}.export | su -c '/path/to/svnadmin load /home/svnroot' wwwrun
<<< Started new transaction, based on original revision 2
* adding path : ... ... done.
...
svnadmin: Checksum mismatch, file '/.../function.gif':
expected: 84af16d890e6a8ce052cdaeefce1627f
actual: 6a86558214adc8b95a8366d4176ef3ba
* adding path : .../function.gif ...
--
Victor Engmark
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2724374
To unsubscribe from this discussion, e-mail: [[email protected]].