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

Re: Another svnadmin checksum mismatch

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 15 Mar 2011 13:44:49 +0200

Ignore this thread; as Philip says it works fine with SVN_DBG_OUTPUT=stderr.

Thanks.

Philip Martin wrote on Tue, Mar 15, 2011 at 09:35:02 +0000:
> Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:
>
> > % $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
>
> That's a bit cryptic. If you modify the dump output so that the file
> contents don't match the checksum then load gives an error. What am I
> missing?
>
> --
> Philip
Received on 2011-03-15 12:48:01 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.