Code::Blocks Forums

User forums => Help => Topic started by: johne53 on January 18, 2008, 01:58:18 pm

Title: Code::Blocks 'Clean' and Subversion
Post by: johne53 on January 18, 2008, 01:58:18 pm
I'm using C::B with a project that uses a version control system called Subversion. Subversion works by creating its own folders (usually called ".svn") where it then creates its own files. The ".svn" folders are normally subfolders of those containing source files. Today, I tried to update my project and found that all of Subversion's data files had gone.

The only thing I've done recently (which I've never done before) is to use the '"Workspace Clean" feature. Is it possible that this would have zapped all my Subversion files?
Title: Re: Code::Blocks 'Clean' and Subversion
Post by: mandrav on January 18, 2008, 04:04:02 pm
Quote
The only thing I've done recently (which I've never done before) is to use the '"Workspace Clean" feature. Is it possible that this would have zapped all my Subversion files?

No. The "clean" command deletes object and output files. And it fills the list of files to clean by scanning the project, NOT by scanning the disk.
Title: Re: Code::Blocks 'Clean' and Subversion
Post by: johne53 on January 18, 2008, 04:13:21 pm
Thanks for the quick reply. I didn't think C::B would be the culprit but I'm clutching at straws. I can't think of anything else unusual that I've done lately...  :(
Title: Re: Code::Blocks 'Clean' and Subversion
Post by: thomas on January 18, 2008, 05:37:02 pm
Since Code::Blocks uses Subversion too, and we build Code::Blocks with Code::Blocks, we would have noticed :)