Lutz Roeder Saved my Mind
-
So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.
This is why we stopped using SourceSafe. Personally I consider the product too dangerous to use. I'm astounded it's so crappy. Microsoft: You have billions and billions of dollars. Buy a company that has a decent source control product.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
This is why we stopped using SourceSafe. Personally I consider the product too dangerous to use. I'm astounded it's so crappy. Microsoft: You have billions and billions of dollars. Buy a company that has a decent source control product.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Thanks Chris, I'm sure coming from you this will make my motivation to move off it a little easier to get across.
-
This is why we stopped using SourceSafe. Personally I consider the product too dangerous to use. I'm astounded it's so crappy. Microsoft: You have billions and billions of dollars. Buy a company that has a decent source control product.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Chris Maunder wrote:
we stopped using SourceSafe
What do you use then?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Chris Maunder wrote:
we stopped using SourceSafe
What do you use then?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
What a... garish... website... :~
-
Silly question, but how does it fare for you (must be okay to great if you are using it)?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
What a... garish... website... :~
My thoughts, too. Could be prettied up a little :)
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.
I had something similar a while ago although we were using Seapine Surround. After spending a week on a project and religiously checking everything in I got a working build, the heavens opened and the angels sang. The following day I open studio and it asks if I would like to do a get, thinking someone else may have made a change and knowing that my changes were all in there I said yes, if only I had known that somehow all the changes had been lost and that I was now checking out a project several revisions old, the angels had stopped singing. But coming charging over the hill to my rescue shining in the midday sun was Ludz and Reflector. Disassembling the last working build of my application I managed to get it all back and surprisingly managed to refactor some of it as well. I learnt my lesson from this affair, Studio sucks, seapine sucks, together they are a source for evil in this world. But with Ludz and Refactor out there we might just stand a chance. Thank you Ludz
-
Brady Kelly wrote:
SourceSafe in VS2005
I will never, ever, use SourceSafe. Marc
Me neither, I cannot see any point, as I take backups at key stages, and therefore do not need a backup of every change I ever make.
Steve Jowett ------------------------- Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
-
So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.
We switched to SVN from VSS about 8 months ago, and we couldn't be happier. Not only is the SVN functionality exactly what we need, but the Tortoise interface makes "USING SOURCE CONTROL" very intuitive. We have had simultaneous development going on on multiple branches and have merged the branches painlessly. The "branching" and "pinning" in VSS never made any sense to us, and we could never figure out how to do what SVN made so easy to do. The only snafu was when I accidently checked out the trunk to the wrong working folder. When I realized what had happened I did an OS delete on that folder. I'm sure I was asked at least once to confirm the delete, but of course I wanted that folder deleted - it had all that source code in the wrong place! Unfortunately, that deleted everything from the repository as well. We recovered by checking out the revision preceding my delete and then commiting it. Now we just have a gap in the revision history for the trunk, because it looks like everything was "new" after the accident! -Alan Finger
-
This is why we stopped using SourceSafe. Personally I consider the product too dangerous to use. I'm astounded it's so crappy. Microsoft: You have billions and billions of dollars. Buy a company that has a decent source control product.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Didn't they hire some of the Subversion developers instead for the version control in Team System? Whilst Microsoft can't do their usual with Open Source and just buy the tech, at least they can buy (some of) the developers and do the work all again. I haven't used SourceSafe or Team System, as I've been a happy Subversion/TortoiseSVN* user for the last 4 years, and have never lost any data, even when svn was at v0.29 :) * Congratulations to TortoiseSVN for winning the SourceForge award for best developer utility!
-
So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.
The same thing happened to me 2 weeks ago. I created this small utility application for my manager about a year ago. I gave him the application with the source. He was going to put the sources in SourceSafe. A few months ago, we were informed that the contract was coming to an end. It came down to the last day, literally an hour before closing that we got an extension. So, I made sure all code was checked in. I cleaned off my computer of all traces that I existed (common practice for a consultant). Two weeks ago, the manager asked me to make a change to the original utility. I didn't have the source code. I informed him that he had the source code, and placed it in Sourcesafe about a year ago. well, he didn't place it in SS, and I had to start from scratch. He did have the original executable. Reflector saved me, big time!!! GREAT PROGRAM!!!!!
-
The same thing happened to me 2 weeks ago. I created this small utility application for my manager about a year ago. I gave him the application with the source. He was going to put the sources in SourceSafe. A few months ago, we were informed that the contract was coming to an end. It came down to the last day, literally an hour before closing that we got an extension. So, I made sure all code was checked in. I cleaned off my computer of all traces that I existed (common practice for a consultant). Two weeks ago, the manager asked me to make a change to the original utility. I didn't have the source code. I informed him that he had the source code, and placed it in Sourcesafe about a year ago. well, he didn't place it in SS, and I had to start from scratch. He did have the original executable. Reflector saved me, big time!!! GREAT PROGRAM!!!!!
Yeah, always keep a copy off-line as well. One day is one day your need it and don't have it installed or have net access. :~
-
Yeah, always keep a copy off-line as well. One day is one day your need it and don't have it installed or have net access. :~