How to insure that ALL project files are in fact checked in

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
cac123
Posts: 25
Joined: Thu Dec 08, 2005 9:01 am

How to insure that ALL project files are in fact checked in

Post by cac123 » Tue Apr 10, 2007 11:37 am

I have just gone through what nobody that depends on their code wants to go through. I came back from Easter break to find that my HD had crashed. Everything gone but not my source code in my SourceGear DB that I care about right? Well apparently a handful of files out of hundreds for a very important project haven't checked themselves in for almost a month. I did a show history and to my amazement there were no recent check in dates returned by the query. All of the other project files had the expected check in dates / comments. When I check in I do it at the project level in most cases as so many files get checked out, etc (right click in IDE / check in).

Is there a way to configure SourceGear to do the following:

1. Force a check in for ALL files in a project.
2. Verify that ALL files have in fact been checked in and comitted.

(see attachment for current Source Gear settings)

I was lucky in that the files that were lost were able to be decompiled, find replace, etc. Not a fun thing to do but it worked. I back up my SourceGear database daily but it does me no good if files aren't being checked in and others are. Is it recommended to use the full SoureGear client versus the VS 2005 IDE to mange source? I have seen posts regarding bugs with the IDE, etc. I am usign VS2005 SP1 with SoureGear 3.5.1 (single developer) access from work and home. I have been using SourceGear for some time and haven't had this problem occur to my knowledge so I am concerened. My fear now is that other projects may have the same issue and if that is the case I am looking at possibly loosing source code again.
Attachments
sourcesettings.JPG
(Current Settings)
sourcesettings.JPG (56.65 KiB) Viewed 4046 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Apr 10, 2007 2:29 pm

Generally if you do checkin from the Solution or project level, that should checkin all items under that level. You may want to check the option in the Vault GUI Client, under Tools->Options->General->Act on folders recursively.

To verify all items have been checked in, you could use the Vault GUI Client to do a search on items with "Any status." This will tell you if any files remain in an Edited, Needs Merge, or Renegade state, etc. Also check to see if any items remain in the GUI Client Pending Change set.
Linda Bauer
SourceGear
Technical Support Manager

cac123
Posts: 25
Joined: Thu Dec 08, 2005 9:01 am

Post by cac123 » Tue Apr 10, 2007 4:44 pm

Do you think it matters whether I use the stand alone Soure Gear client versus the integrated hooks in the IDE?

Thanks for the fast response to my initial question.

cac123
Posts: 25
Joined: Thu Dec 08, 2005 9:01 am

Post by cac123 » Tue Apr 10, 2007 4:51 pm

I forgot...

In the settings screen shot that I sent in does it matter that the environment settings is set to Visual Source Safe or should it be set to something else?

Post Reply