RE: Checksum mismatch bug in 1.8.18
From: Bert Huijben <bert_at_qqmail.nl>
Date: Sat, 29 Jul 2017 14:37:09 +0200
This specific error message was added in the last release, so yes it is new
It tries to tell you that you have two files with an identical SHA-1 hash,
This scenario is pretty unlikely to trigger, unless you specifically try to
I'm not sure I'll have time to look into this before Monday though, so
Bert
From: David Engel [mailto:DEngel_at_magnitude.com]
Hi,
I think I'm running into a bug in svnadmin in the latest 1.8 release
Here are the relevant details:
OS: Windows 10 and Windows 2012 R2
Subversion release: 1.8.18
Both SlikSVN release:
svnadmin, version 1.8.18-SlikSvn-1.8.18-X64 (SlikSvn/1.8.18) X64
compiled Jul 17 2017, 13:03:37 on x86_64-microsoft-windows6.2.9200
And Collabnet release:
svnadmin, version 1.8.18 (r1800620)
compiled Jul 7 2017, 05:51:59 on x86_64-microsoft-windows6.2.9200
Performing an svnadmin load results in the following error:
...
<<< Started new transaction, based on original revision 650
* editing path :
* editing path :
* editing path :
svnadmin: E160004: Filesystem is corrupt
svnadmin: E200014: Checksum mismatch while reading representation:
expected: a6ea37d29094deece56250ebe167ce46
actual: 5f696f5d0755f3bcb5e927bdfba4bfa8
In order to reproduce the error, you can use the attached VersionStamps3
Repro.bat script:
@echo off
:defineCommands
rem You might need to adjust these lines to point to your
rem compiled-from-source Subversion binaries, if using those:
for %%i in (svn.exe) do set SVN="%%~$PATH:i"
for %%i in (svnadmin.exe) do set SVNADMIN="%%~$PATH:i"
:defineUrls
rem Only supported access method: file:// <file:///> . If http:// or svn://,
rem you'll have to configure it yourself first.
set URL=file:///%CD%/repos
set URL=%URL:\=/%
echo Base url for repo: %URL%
:cleanAllDirsAndCreateRepo
if exist repos rmdir /s /q repos
if exist import-me rmdir /s /q import-me
if exist wc rmdir /s /q wc
%SVNADMIN% create repos
pause
:prepareGreekTree
echo Making a Tree for import...
mkdir import-me\Dev\Common\Utils\External
echo Importing it...
cd import-me
%SVN% import -q -m "Initial import." %URL%
cd ..
rem This is where your reproduction recipe goes.
svnadmin --version
svnadmin load repos < VersionStamps3
goto :eof
Thanks,
David
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.