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

Re: svn x-shelve fails with "checksum mismatch" error

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Mon, 3 Aug 2020 15:19:22 +0200

On Mon, Aug 3, 2020 at 2:44 PM Marc Strapetz <marc.strapetz_at_syntevo.com> wrote:
>
> I just gave the experimental shelve-feature a try and ran into a
> "checksum mismatch" error when invoking "svn x-shelve". Any ideas how to
> resolve this?
>
> D:\temp\tiny.dir.svn>dir
> ...
> 03.08.2020 14:30 <DIR> .
> 03.08.2020 14:30 <DIR> ..
> 03.08.2020 14:30 36 sub.txt
> 1 File(s) 36 bytes
> 2 Dir(s) 4 923 518 976 bytes free
>
> D:\temp\tiny.dir.svn>svn diff
> Index: sub.txt
> ===================================================================
> --- sub.txt (revision 960)
> +++ sub.txt (working copy)
> @@ -1,4 +1,4 @@
> -1
> +1a
> 2
> 3
> 4
>
> D:\temp\tiny.dir.svn>svn info
> Path: .
> Working Copy Root Path: D:\temp\tiny.dir.svn
> URL: file://localhost/D:/svnrepos/test/tiny/trunk/dir
> Relative URL: ^/tiny/trunk/dir
> Repository Root: file://localhost/D:/svnrepos/test
> Repository UUID: b64c88d0-5acc-524b-887a-f04c2292f55f
> Revision: 960
> Node Kind: directory
> Schedule: normal
> Last Changed Author: marc
> Last Changed Rev: 893
> Last Changed Date: 2017-09-26 16:04:19 +0200 (Di, 26 Sep 2017)
>
>
> D:\temp\tiny.dir.svn>svn x-shelve shelf1
> --- Shelve 'shelf1' in WC root 'D:/temp/tiny.dir.svn'
> --- Shelving...
> Updating '.svn\experimental\shelves\v3\7368656c6631-001.wc':
> At revision 960.
> Sending sub.txt
> Transmitting file data .svn: E200014: Checksum mismatch for
> 'D:\temp\tiny.dir.svn\.svn\experimental\shelves\v3\7368656c6631-001.wc\sub.txt':
> expected: ec87e2cd3ddf5490cbe10e07301c114c
> actual: b89724a2cec6a05364bb3af4c74fd452
>
> Tested on Windows 8.1 with Subversion 1.14.0 (built ourselves).

I think this is known as issue SVN-4827 (svn x-shelve gives E200014:
Checksum mismatch when using eol-style=native or keywords)

https://issues.apache.org/jira/browse/SVN-4827

Seems there is already a regression test for it. I suppose a patch
would be very welcome ;-).

-- 
Johan
Received on 2020-08-03 15:19:43 CEST

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.