Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion: base checksum mismatch

Tags:

svn

I am trying to commit a change in subversion to a file. This file belongs to a directory that is linked to my project via an external, and is pegged at a certain revision.

When I do a commit, I get the error:

Commit failed Base checksum mismatch on.... 

I tried to check out the directory again to ensure that it was clean and perform the commit again, but I still receive the same error.

Could it be related to committing to a pegged file? I thought that committing onto a file that is pegged should be possible and essentially branches off this code?

like image 742
lost_bits1110 Avatar asked Jun 27 '12 16:06

lost_bits1110


People also ask

What is a checksum mismatch?

A Checksum Mismatch error could happen if an operation that sends or retrieves information from the repository to the working copy is interrupted. This means that there is a problem with the synchronization between a local item and its corresponding remote item.

What causes checksum mismatch?

A Checksum mismatch error is caused by many factors, such as defective drives, faulty memory modules, or non-Synology memory module installation. Perform regular S.M.A.R.T. tests to monitor the health status of your drives and identify drive-related issues at an early stage.


2 Answers

The way worked for me:

  1. Make copy of problematic file.
  2. Revert.
  3. Unversion and add to ignore item.
  4. Commit.
  5. Owerwrite ignored file from copy.
  6. Add file back to SVN.
  7. Commit.
like image 98
Tomasito Avatar answered Sep 28 '22 04:09

Tomasito


Copy all files in your project to a temporary backup folder. Click "Revert" on your original project folder. Diff changed files with the backup folder, copy your changed files into the original project folder. Commit and your original folder is back to normal.

Just had this same issue on two projects and that method worked.

like image 25
mike nelson Avatar answered Sep 28 '22 03:09

mike nelson