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.
How to insure that ALL project files are in fact checked in
Moderator: SourceGear
How to insure that ALL project files are in fact checked in
- Attachments
-
- (Current Settings)
- sourcesettings.JPG (56.65 KiB) Viewed 4046 times
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.
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
SourceGear
Technical Support Manager