Author Topic: Code::Blocks 'Clean' and Subversion  (Read 5232 times)

Offline johne53

  • Regular
  • ***
  • Posts: 253
Code::Blocks 'Clean' and Subversion
« 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?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Code::Blocks 'Clean' and Subversion
« Reply #1 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.
Be patient!
This bug will be fixed soon...

Offline johne53

  • Regular
  • ***
  • Posts: 253
Re: Code::Blocks 'Clean' and Subversion
« Reply #2 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...  :(

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Code::Blocks 'Clean' and Subversion
« Reply #3 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 :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."