|
| Getting all files in a project for label |
 |
Mon, 10 Mar 2008 10:31:11 -070 |
I'm trying to get all of the files for a project for a given label. I've
tried from both the command line and from GUI. In GUI, I get history,
highlight the label and choose GET.
After about a second, VSS says ready.
Shouldn't I be able to pull files based on labeling without going to each
file individually?
Thanks,
|
| Post Reply
|
| Re: Getting all files in a project for label |
 |
Mon, 10 Mar 2008 21:21:41 -070 |
"Steve Feinstein" <SteveFeinstein@discussions.microsoft.com>
wrote in
message news:117E830B-136F-4C72-99DE-191C5FBA2C4B@microsoft.com...
> I'm trying to get all of the files for a project for a given label. I've
> tried from both the command line and from GUI. In GUI, I get history,
> highlight the label and choose GET.
>
> After about a second, VSS says ready.
>
> Shouldn't I be able to pull files based on labeling without going to each
> file individually?
Get history on the project, not the file, and then do a get on the label
(assuming you labeled the project). Even if you didn't label the project,
you can click on the right point in time in the history and do a get as
well. It will prompt you if you just want the file you clicked on or all
the files as they were at that point in time in the project.
-Mark
|
| Post Reply
|
| Re: Getting all files in a project for label |
 |
Tue, 11 Mar 2008 05:47:01 -070 |
"Mark Tolonen" wrote:
>
> "Steve Feinstein"
<SteveFeinstein@discussions.microsoft.com> wrote in
> message news:117E830B-136F-4C72-99DE-191C5FBA2C4B@microsoft.com...
> > I'm trying to get all of the files for a project for a given label.
I've
> > tried from both the command line and from GUI. In GUI, I get
history,
> > highlight the label and choose GET.
> >
> > After about a second, VSS says ready.
> >
> > Shouldn't I be able to pull files based on labeling without going to
each
> > file individually?
>
> Get history on the project, not the file, and then do a get on the label
> (assuming you labeled the project). Even if you didn't label the project,
> you can click on the right point in time in the history and do a get as
> well. It will prompt you if you just want the file you clicked on or all
> the files as they were at that point in time in the project.
>
> -Mark
>
That is what I am doing. I get a history on the project. I select the
label. i click Get. Then nothing happens (if using v6 of VSS). Or, if
using version 2005, I get the dialog for getting files, I set recursive and
|
| Post Reply
|
| Re: Getting all files in a project for label |
 |
Tue, 11 Mar 2008 06:06:03 -070 |
"Mark Tolonen" wrote:
>
> "Steve Feinstein"
<SteveFeinstein@discussions.microsoft.com> wrote in
> message news:117E830B-136F-4C72-99DE-191C5FBA2C4B@microsoft.com...
> > I'm trying to get all of the files for a project for a given label.
I've
> > tried from both the command line and from GUI. In GUI, I get
history,
> > highlight the label and choose GET.
> >
> > After about a second, VSS says ready.
> >
> > Shouldn't I be able to pull files based on labeling without going to
each
> > file individually?
>
> Get history on the project, not the file, and then do a get on the label
> (assuming you labeled the project). Even if you didn't label the project,
> you can click on the right point in time in the history and do a get as
> well. It will prompt you if you just want the file you clicked on or all
> the files as they were at that point in time in the project.
>
> -Mark
>
>
I took another tack based on your response about not needing to click the
label. I got history, but this time I clicked on the file right below the
label (since that was the last thing done prior to labeling). I selected
Get. I answered that I wanted the entire project. This time it worked. So
the problem seems to be getting from the label.
|
| Post Reply
|
| Re: Getting all files in a project for label |
 |
Tue, 11 Mar 2008 07:45:54 -070 |
"Steve Feinstein" <SteveFeinstein@discussions.microsoft.com>
wrote in
message news:87FF769F-6BA5-44B5-8151-F00A1888447D@microsoft.com...
> "Mark Tolonen" wrote:
>
>>
>> "Steve Feinstein"
<SteveFeinstein@discussions.microsoft.com> wrote in
>> message news:117E830B-136F-4C72-99DE-191C5FBA2C4B@microsoft.com...
>> > I'm trying to get all of the files for a project for a given
label.
>> > I've
>> > tried from both the command line and from GUI. In GUI, I get
history,
>> > highlight the label and choose GET.
>> >
>> > After about a second, VSS says ready.
>> >
>> > Shouldn't I be able to pull files based on labeling without going
to
>> > each
>> > file individually?
>>
>> Get history on the project, not the file, and then do a get on the
label
>> (assuming you labeled the project). Even if you didn't label the
>> project,
>> you can click on the right point in time in the history and do a get
as
>> well. It will prompt you if you just want the file you clicked on or
all
>> the files as they were at that point in time in the project.
>>
>> -Mark
>>
>>
> I took another tack based on your response about not needing to click the
> label. I got history, but this time I clicked on the file right below the
> label (since that was the last thing done prior to labeling). I selected
> Get. I answered that I wanted the entire project. This time it worked.
> So
> the problem seems to be getting from the label.
>
> Steve
I had this same problem a while back on a large database that I maintain.
Getting from the project label didn't work, but from the file it did. In
VSS2005 there is an analyze switch, -fl (that's an FL), that rebuilds the
label cache. That switch doesn't exist in VSS6. The two versions use the
same database format however.
-Mark
|
| Post Reply
|
|
|
|
|
|
|
|
|
|