Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot pull project by label

Status
Not open for further replies.

jscamptx

Programmer
Jun 17, 2003
5
US
I'm using VSS 6.0c.

When I try to pull a project from an old label, nothing
happens. No error message, nothing. Neither from the GUI
nor from the command line.

example:
ss get $/myProject/mySubProject -VLmyLabel -R

I can do it on a file-by-file basis using the History
dialog, but that defeats the purpose of using labels, imo.

Is this a bug? Am I stupid? Both?

Thanks.
 
I am not sure if the -VL is a valid switch.
I get warning message about this invalid Option -VL.!
Looks like the only option is to use the GUI.
U can use the -Show History > Recursive.
In the report window > scroll to the item (project folder / sub-folder) with the label u r looking for...and choose GET.
This should get the labeled folders / sub-folders.
But u r right....the command line option to do a get based on a label switch is sorely missing in 6.0c.
But the GUI...However skewed..does provide a way out !
-Sri
 
I've already tried getting from the History dialog. That's what I meant by the GUI.

-VL is listed in the online documentation as a valid switch.

It's looking more and more like a VSS bug.
 
Hey
I did try out the command line option to retrieve files based on a Label v3.5

Here is what I typed in:

u:\ss get $/SGA/Pore -VLv3.5 -r (can be used with -R also).
It did actually *get* the files.
Hmm....Whats happening? Why could'nt I do it earlier.???
Erratic behaviour..I guess...
* * *
I am not if sure if this is of any importance.Give it a shot..
Set your SSDIR variable to point to the VSS DB location and see if it works.!
* * *
-Sri
 
I found the problem. This is definately a VSS bug. Analyze ate my labels.

When you run Analyze in fix mode, it copies all the labels to the backup labels directory but doesn't copy them back. Or it does a move instead of a copy. Either way, unless you manually copy them back to data\labels they're gone.


It may be fixed in Svc Pack 6 (6.0c), but I just applied it this week. I had some labels in my backup directory and when I copied them back, get by label worked for those that I still had.
 
Hey what a shame you can't go back and rename your thread... I think "Analyze ate my labels" would be good to see in the thread list!
 
Are you sure that you ran Analyze all the way through? I've heard that if you interrupt the utility midrun, bad stuff can happen.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top