I realised that I could have spent the last twenty years putting all my tech knowledge online. Well, I didn't, but as they say, the best time to plant trees is 20 years ago, the second best time is now. So here's all the random programming stuff I've come across that might be helpful. Note: this isn't really questions and answers - more just answers from me!

Why won't SVN update this file?

0 votes
I had a nightmare recently with SVN refusing to update a file, then skipping a folder. Here's what worked for me.

SVN refused to update a particular file 'template.html' in a folder 'newsletter' deep in a tree. It just ignored it.

Odd. I delete the file, template.html. Ran update again. Nothing, just says up to date revision 999.

I'm under pressure to get this done NOW so start panicking. I delete the folder 'newsletter' and run the update again.

Now I get 'newsletter' skipped messages.

After a long, long set of attempts to get this back this finally worked, go into folder that had 'newsletter' in it:

> svn revert --depth=infinity
> svn up --force foldername

That restored the folder and contents and the problem file. From then on svn updates ran fine.
asked Mar 8 in SVN and Git by Ralpharama (280 points)

Please log in or register to answer this question.