Ralpharama Archive. The archive is almost 20 years old, this website is no longer maintained.

Home | New Writing | Old Writing | Cooking | Technical | Wine Making | Cocktails
   
 
Article

SVN

Hits 843 | Created 2016-01-20 | Modified 2016-01-20

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.




Make a Comment

Name
Comment


Antispam Code (always a number)

Enter Code Above
Submit

Note: All HTML will be removed except for bold and italics. Links will not display. Line breaks are added automatically. Use <pre>...</pre> for code.

Tags

This item has the following tags:


Useful? Donate for hosting costs

All content copyright (c) Ralpharama