Svk checksum mismatch

I have been using SVK without any problems for the last 6 months. Then I tried to commit the file when the following error occurred:

%> svk commit -m "Message" foo/bar/file.txt
Commit into mirrored path: merging back directly.
Merging back to mirror source file:///usr/local/svn/repo.
A checksum mismatch occurred: Base checksum mismatch on '/trunk/foo/bar/file.txt':
   expected:  9e421f7db5c4c0d6796c90524456d7f4
     actual:  ed4e76ccf3e54223908179735ecf1e89

Does anyone know how to solve this problem?

0
source share
1 answer

Just need svk up -s , the answer is found here:

Work with SVK in a multi-user environment

... svk up is not enough for your depot to reflect the latest changes to the remote repository. Instead, you should synchronize svk (see svk help sync for options) to update the local depot or pass the -s switch to svk to achieve the same effect ...

# alternative 1:
svk sync //mirrors/mirrored_repo_name
svk up

# alternative 2:
svk up -s
+1
source

Source: https://habr.com/ru/post/1714860/


All Articles