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

Another svnadmin checksum mismatch

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 15 Mar 2011 07:31:30 +0200

[[[
% $svnversion `.svn`
1081669M
% $svn di `.svn`
Index: subversion/libsvn_fs_fs/fs_fs.c
===================================================================
--- subversion/libsvn_fs_fs/fs_fs.c (revision 1081669)
+++ subversion/libsvn_fs_fs/fs_fs.c (working copy)
@@ -3349,6 +3349,7 @@
    * non-packed ones: keys for packed rev file content ends with a dot
    * for non-packed rev files they end with a digit. */
   name = apr_pstrndup(pool, last_part + 1, name_last - last_part);
+ SVN_DBG(("name='%s'\n", name));
   return svn_fs_fs__combine_number_and_string(offset, name, pool);
 }
 
% make -C `.svn` -s svnadmin
% $svnadmin create s
% $svnmucc put s/README.txt file://$PWD/s/R -mm
r1 committed by daniel at 2011-03-15T05:27:21.117322Z
% $svnadmin create s2
% $svnadmin dump -q s | $svnadmin load -q s2
subversion/libsvn_repos/load.c:603: (apr_err=200014)
subversion/libsvn_repos/load.c:366: (apr_err=200014)
subversion/libsvn_subr/checksum.c:418: (apr_err=200014)
svnadmin: E200014: Checksum mismatch for '/R':
   expected: 520f596e4ab0fb0c28271f554dc8fd10
     actual: 1021a8e9589b8c3c87827bd6dc7ed5b0

zsh: done $svnadmin dump -q s |
zsh: exit 1 $svnadmin load -q s2
% md5sum s/README.txt
520f596e4ab0fb0c28271f554dc8fd10 /tmp/s/README.txt
%
]]]
Received on 2011-03-15 06:32:27 CET

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