SVN update does not work anymore

14,170

Based on my experience with SVN, fastest possible solution for you would be to perform a clean update, but only in case you don't have any pending changes to commit. You might have corrupted the repository by an accident or something like that, and SVN does not know how to handle certain files in your local repo.

Hope this helped.

Share:
14,170
Liezzzje
Author by

Liezzzje

Nothing interesting, really

Updated on June 08, 2022

Comments

  • Liezzzje
    Liezzzje almost 2 years

    A colleague of mine had problems updating his sources. We update the folder and it looks like it's updating to the latest revision. ("updated to revision xxxx") Then, we check the log ("Show log") for some files -and the folder itself!- and we notice the update process didn't work properly. Several files are updated to a different revision two weeks ago, etc. Files with revisions older than 17/12 are all up to date, files with newer revisions only have been updated to revisions up to 17/12. In the explorer, the files have the green 'check', indicating the file is up to date.

    • We tried a cleanup - that didn't work.
    • Deleting the file and updating brings back the file in the right revision.
    • It looks like updating each file seperately does work.
    • It is possible that the problem started after some files have been added to the ignore list.
    • It is possible that the problem started after setting the system date to somewhere in the past (the system date is correct now)
  • semir.babajic
    semir.babajic over 11 years
    Glad it helped. Sometimes a software itself is poorly written or buggy. Don't always waste your time on isolating the problem and learning about it. In software development, time is the most precious thing you have. Keep that in mind. Cheers!
  • afzalex
    afzalex over 9 years
    Welcome to StackOverflow. You need to learn how to write a good answer.