Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tortoise SVN - Error:Delta Source Ended Unexpectedly

When trying to perform an SVN update on a directory I get the above error, and as a result the changes to the files within this directory don't get pulled down to my working copy. If I go to the repo-browser it can see the changes that have been made, but this error just seems to kill the update pull all together.

I've tried deleting the files in question and performed an SVN update, deleting the directory and even deleting the top-level directory and re-checking out the entire repository, but still get the same error. After extensive googling this was the only approach I could find that had had some success.

I am running TortoiseSVN: 1.7.9 and Subversion 1.7.7

Any ideas would be greatly appreciated.

like image 950
MiiisterJim Avatar asked Oct 30 '12 10:10

MiiisterJim


3 Answers

None of the other answers worked for me. Even completely deleting the local copy and checking it out again did not work.

Instead I followed the advice offered by http://www.tomaz.me/2014/01/01/resolving-delta-source-ended-unexpectedly-svn-issue.html:

  • delete the file from the repository
  • commit the deletion
  • add the file again
  • commit the addition

EDIT

As it turns out the fix above often helped to take care of the error for one commit only. Later on it reoccured. However, all affected files had spaces in their names. Renaming these files (e.g. eliminating the spaces) took care of the error more permanently.

like image 63
Marcus Rickert Avatar answered Nov 06 '22 14:11

Marcus Rickert


Sorted, had to do a top level delete of my local copy as well as delete the hidden .svn folder being the key part. Then just do a fresh checkout of the repository. Hope this is of some use to anybody who runs into this in the future at least.

like image 31
MiiisterJim Avatar answered Nov 06 '22 14:11

MiiisterJim


For added information (and the reason committing the deletion then re-adding the offensive file works) I found that this error cropped up when trying to commit the following:

filename.JPG (original versioned file)

filename.jpg   (the modified file I'm trying to commit)

It identifies as the same file, however the capitalisation difference causes the delta source error.

like image 30
thethingupstairs Avatar answered Nov 06 '22 16:11

thethingupstairs