anyone well versed in Microsoft SourceSafe?

lozina

Lifer
Sep 10, 2001
11,711
8
81
Ok, SourceSafe is a lousy product and I am trying to convince my company to dump it for something else.

But I've got a problem right now and I need to find a solution fast:

We have a bunch of files under a SourceSafe porject, say located in $/MyProject/root.
But I wanted to move those files into a sub-folder of root, called sourcecode- so the source safe path would be $/MyProject/root/sourcecode

So what I did was I just clicked and dragged the files from the root folder into the sourcecode folder as if it was Windows Explorer and it copied all the files there and changed the icon to reflect they were now shared. Then I did a Show History on a file in the new folder to verify that it's history was still intact- it was. So now I wanted to get rid of the redundant files in the original folder so I just deleted them. Now the files in the new folder have the regular file icon (indicating not shared anymore) and when I do a show history I still see all the history.

But now I needed to perform a Get on the source code for a particular point in it's history (on a label) and it won't let me, says the files were deleted. But I can go into show hisotry and verify that label exists and I can even do a View and see the old sourcecode.

So now how can I do a get on an old version on the files?
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
Did you verify you could access the versioned files from the /sourcecode subfolder prior to removing the originals?
 

lozina

Lifer
Sep 10, 2001
11,711
8
81
I didn't try to do a Get before I removed the originals. I just looked into the Show History and verified I could access older code using SourceSafe's editor.

I did do a backup of the DB before I tried this, do I have to run a restore? How are you supposed to move files between SourceSafe projects without having these kinds of problems?
 

torpid

Lifer
Sep 14, 2003
11,631
11
76
What you did will share the files which is not the same as moving. You just have to highlight the files and select move from the file menu.