Hi folks, I am at my wit's end on this issue. We basically are trying to identify which are the file versions in our VSS that are deployed to our Live environment. We wrote a tool that compares each version of the file in VSS with the source code deployed in Live and managed to generate a VSS labeling script for each file in the database. There are 15,000 files. It started out fast with ss.exe (the script is shown below) taking just 1 second to label the first 1000. The next 1000 took 3 seconds per file. The next batch took 10 seconds.. and I still have a long way to go. Can someone advise on what is happening? Thanks! "C:\Program Files\Microsoft Visual SourceSafe\ss.exe" LABEL "$/Build/ Project01/File01.cs" -L"Promoted to PRD" -V1 -I-Y -C- -O"D:\VSS_Tools \Labeler\Log.txt" -Ybuilder,builder
I have some more info. For some reason, I think VSS maintains a single physical file in the Labels folder for each unique Label. As I apply the same label to more and more files, this data file gets larger and it takes more time to apply to same label to any more files. This hypothesis seems to be correct as I get blazing performance if I change the text of the label even slightly. Screwed :(