Re: svn commit: r1826720 - /subversion/trunk/subversion/libsvn_fs_fs/cached_data.c
From: Philip Martin <philip_at_codematters.co.uk>
Date: Mon, 19 Mar 2018 12:54:49 +0000
Philip Martin <philip_at_codematters.co.uk> writes:
> It seems wrong for our checksum code to allow the wrong length, but
I've decided the error should be an FS warning.
Issue 4554 only occurs when the representation is PLAIN rather than
The new error will trigger if the length is zero for a DELTA
Consider
svnadmin create repo --compatible-version 1.8
Now edit the r1 file and change the expanded length:
text: 1 0 17791 55700 df5d0e251e4b811f0ed63694e7a2cd00 fb07bf4d765ccf4e18afe74d55
being carefull to keep the file the same length, e.g. change 55700 to
svnadmin verify repo
will not report an error, but
svnadmin dump repo | svnadmin load repo2
will fail because the dump file contains the wrong length. The dump
$ subversion/svnadmin/svnadmin verify repo
which also gives me the information I need to correct the dump file and
-- PhilipReceived on 2018-03-19 13:55:04 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.