Subversion 1.6, 1.7, 1.8 and 1.9: file & folders manipulation and Checksum mismatch error

Ngày 1 tháng 4 năm 2015 Trương Chương Dương
Some time, SVN meet the checksum error, such as:

Sending        worldtime.xml
Transmitting file data .svn: E155017: Commit failed (details follow):
svn: E155017: Working copy text base is corrupt
svn: E200014: Checksum mismatch for text base of '/mnt/Data/worldtime.xml':
   expected:  c9d6db14e0a2099f8be745c7c43a1ef7
     actual:  a9db1ea8a9b64ee4160f67bcae94aef8

Or

Updating '.':
svn: E155017: Checksum mismatch for '/mnt/Data//worldtime.xml':
   expected:  c9d6db14e0a2099f8be745c7c43a1ef7
   recorded:  a9db1ea8a9b64ee4160f67bcae94aef8


we don't need to delete then checkout every thing again. Just need to use svn depth clean then re-update the error file. So we do below step:
  1. Backup your file if you wish to keep the change
  2. Change to error directory (E.g.: /mnt/Data)
  3. Run:
    • svn update --set-depth empty
  4. Then run:
    • svn update --set-depth infinity
  5. Then copy back your backed up file.
You can use above workaround for all svn 1.6, 1.7, 1.8 and 1.9 verions.
Đang tải dữ liệu...
web site traffic statistics