Saving Source

Published February 28, 2006
Advertisement
After a few "Gee, I wish I could go back to the way the program was yesterday, because this new path is completely useless" occurances, I decided to bite the bullet and install Visual Source Safe.


I've experimented with a few revision control systems in the past; the most pleasant being RCS, and the worst being CVS. Unfortunately, I'm cheap and cannot afford RCS, and I already have VSS from some MSDN DVD, so I bit the bullet and installed it.


Things are going well; it's a bit weird to go into it and see every file always checked out. I use a flash drive for my programs, so I can program them no matter where I go, so leaving them checked out is a neccessity when I switch computers. I've gotten into the habit of doing a nightly check-in, which seems reasonable; as long as I've got a working state of the program.


So I got curious and looked into the source safe repository directory.


I am... aghast. Whoa. There are 26 directories, named 'a'-'z'. Each directory holds seemingly random named files named like 'aaaaaagbff' for the 'a' directory, and 'zzzzzzepg' for the 'z' directory, and everything inbetween.

What the hell?

Is this some form of obfuscation or something? For the life of me, I can't imagine anyone designing such a system. When I tried re-inventing this wheel several years ago (which I luckily gave up on before it consumed too much of my time), I stored file differences based on dated directory names, and pretty much every other versioning system does something similar.

Erk.
Previous Entry SECURITY!
Next Entry Untitled
0 likes 7 comments

Comments

MustEatYemen
for the love of god and all that is holy.
DO NOT USE VSS.
Visual Source Safe, is very easy to corrupt, and you can end up loosing all the code in it.

Please use SVN instead.
http://subversion.tigris.org/


http://www.highprogrammer.com/alan/windev/sourcesafe.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvss/html/vssbest.asp
February 28, 2006 04:28 PM
Ravuya
VSS is a very poor solution. I don't know if it's improved since VSS6, but I can remember problems like "not being able to function after 6GB of content is checked in" and "two people can't do things at once without violent crashes". It also comes with an easter egg game, which I called "Holy shit the repository is fucking corrupted".

Install an SVN server somewhere and use TortoiseSVN; it rules. Using it right now for two or three cross-platform projects.
February 28, 2006 04:58 PM
MustEatYemen
iirc it was once you hit a 5GB DB kiss the DB goodbye.

I'm using SVN for my projects at home, and at work.
February 28, 2006 05:11 PM
aidan_walsh
SVN + TortoiseSVN, ftw.
February 28, 2006 06:08 PM
mattd
svn ftw mith. svn.
February 28, 2006 10:12 PM
Rob Loach
Free SVN Server..... Oh, and Sourceforge has SVN now too ;-)
February 28, 2006 11:00 PM
VisualLR
Perforce -> you can use perforce for free depending on your project.

Save yourself, stop using VSS. At work we were using it for a project I worked on and it corrupted many of our files, fortunately we were able to get them back, but it halted all work for a day... and it happened more than once.
March 01, 2006 10:04 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement