Skip to main content
June 26, 2008
Question

Delete Files

  • June 26, 2008
  • 1 reply
  • 626 views
Is there a way, a setting, a method to prevent the following??

Using RoboSource, I checked out a project, which had approximately 175 graphics.
I cleaned up the project, and only 21 graphics were actually being used.
I deleted all of the unused graphics off my hard drive to test and see what would happen if I tried to check the entire project (and all graphics) back in to RoboSource Control.
I kept the default settings, and when I clicked Check In, RoboSource put all 175 graphics back into RoboSource Control, with no apparent warning message about how the files had been deleted from my hard drive.
So then I went back to my hard drive, and RoboSource also placed copies of all the deleted graphics back on my hard drive.


When using SourceSafe, if you try to check in files that have been deleted from your local hard drive, SourceSafe leaves them "checked out" and explains that they are missing. In other words, let's say you checked out 100 graphics from SourceSafe, and then deleted 25 of them on your hard drive while cleaning up a project. If you go back to SourceSafe and try to check in all 100 files, it will check in the 75 that still exist, but it will show the other 25 as being checked out, and displays a message about them not existing.

Thanks for any help with this.
This topic has been closed for replies.

1 reply

Gravenstein
Inspiring
June 26, 2008
Hi HockeyTime -

A couple of questions to clarify: Were you doing the cleanup in RSC Explorer or from RH? And when you say that you checked out the project using RoboSource, do you mean that you literally checked out all the files in the project?

G

G
June 27, 2008
Hi Gravenstein,

I checked the entire project out from RoboSource Control, and then deleted some graphics off my hard drive using Windows Explorer, and then checked the entire project back into RoboSource Control recursively to see how it would handle the deleted graphics.
June 30, 2008
That shouldn't be necessary. Typically, graphics that are no longer used will disappear from view (hide) in RSC. You ought to be seeing only the graphics currently in use by the RH project. (And graphics never used would never have been added to RSC.) If there are unused graphics files nestled in amongst your other files, there should be no problem simply deleting them using Windows Explorer--they should be invisible to RH/RSC.

I suspect the problem is related to the way your project was added to RSC (i.e. using RSC Explorer).

G

You could be right. I read in another posting that RSC shouldn't be used to initially add a project to RSC. That we should go through RoboHTML. The RSC documentation makes no mention of this at all! The method we used to load the projects was the once explicitly described in the RSC documentation. Foolish us! I will try loading a project through RoboHTML and see it the problem still exists.