Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4827

svn x-shelve gives E200014: Checksum mismatch when using eol-style=native

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.12.x
    • Fix Version/s: None
    • Component/s: cmdline client
    • Labels:
      None
    • Environment:

      Description

      I'm getting the error: E200014: Checksum mismatch when using svn x-shelve

      To produce this error I did the following:

      • create a fresh repository with nothing in it (on FreeBSD)
      • check out the new repository to a working copy (on Windows 10)
      • add a single file (main.cpp) with a few random lines of text in it and set the svn:eol-style=native property
      • commit the add,
      • alter the file,

      and then run (from the command line):

      svn x-shelve shelf1

      I get the following output:

      Updating '.svn\experimental\shelves\v3\7368656c6631-001.wc':
      At revision 1.
      Sending main.cpp
      Transmitting file data .svn: E200014: Checksum mismatch for
      'C:\Shared\Test\Test3\.svn\experimental\shelves\v3\7368656c6631-001.wc\main.cpp':
      expected: b77dd03a6c3f68f496d874153363694e
      actual: 7f081249d3e4e1383afb2798d46a58f5

       

      If both the repository and working copy are on FreeBSD, or both are on Windows, there is no problem. 

       

      If I remove the svn:eol-style=native property, the problem also goes away.

       

      See the thread on the users mailing list starting 2019-07-30, with the subject: svn x-shelve gives E200014: Checksum mismatch.

        Attachments

          Activity

            People

            • Assignee:
              julianfoad Julian Foad
              Reporter:
              MarkP Mark P.
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: