Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VSS 6.0d "Get" version with specific label problems...

2 views
Skip to first unread message

hzgt9bn...@discussions.microsoft.com

unread,
Sep 17, 2004, 11:39:09 AM9/17/04
to
I am trying to use batch scripts to run VSS command line to Get specific
labelled versions of configuration items (CI) in a project. (then build the
release...) The problem is that I keep getting errors like this:

C:\Package_scripts\test>ss Get "$/.../someFile.vb;L release_3.1.0.1"
$TestCases was moved out of this project, and cannot be rebuilt.
Continue anyway?(Y/N)y
$TestData was moved out of this project, and cannot be rebuilt.
Continue anyway?(Y/N)y

First question: what is the error and what can I do about it if the folder
was moved out of the project? (i.e. why is it complaining, I don't care about
the "$TestData" project)

Because I'm running these commands in batch, I want use the "-I-" option (Do
not ask for input under any circumstances), but the answers to the above
questions are "N" and the specified CI is not pulled back.

Second question: How can I get the answers to the above questions to be "Y"
instead of "N" (or eliminate the need to answer them Y)

Joe Masters

unread,
Sep 21, 2004, 2:31:29 AM9/21/04
to
Try -I-Y to answer yes to everything. The error seems valid. $TestData was
probably part of the project when the label was made, but it's since been
moved and can't be retrieved to go along with the label you requested.

Joe

"hzg...@nopost.com" <hzgt9bn...@discussions.microsoft.com> wrote in
message news:939B3642-0C04-4BB8...@microsoft.com...

Sleepy

unread,
Oct 1, 2004, 10:11:06 AM10/1/04
to
Hello,

I have the same problem, but in my case subproject was deleted long before
the label was made. In fact I am trying to do the same thing as
hzg...@nopost.com.

I have batch file with following :

ss.exe label -L"something" -c-
ss.exe get *.* -r -VL"something"

I can't use -I-Y, because I need to answer N to another silly question
(about setting my current directory as working folder for ss project)

May be you know how to work it around?

Sleepy

PS. I have 10 other projects with the same build technology without any
problems

Joe Masters

unread,
Oct 5, 2004, 1:49:28 AM10/5/04
to
Perhaps using the -GL command line option you can get rid of the other
question so -I-Y will work.

Joe

"Sleepy" <Sle...@discussions.microsoft.com> wrote in message
news:2EADA05A-5489-4146...@microsoft.com...

Sleepy

unread,
Oct 13, 2004, 4:15:20 AM10/13/04
to
Thanks. I was nearly sure that nobody will answer.

As for the matter, -GL option doesn't help, the question "do you want to set
..." still appear. Ocassionaly I found the way to get over the problem. It is
strange, but source safe simply ignores my answer to the question "Project
$XXX has been destroyed, and cannot be rebuilt. Continue anyway?(Y/N)".
Regardless of my answer it continues getting the project. So, option -I-N
works fine.

It could be very funny, if I haven't spent too much time to find the
decision. And finally I don't like such kind of decisions.

Sleepy

Blondeau@discussions.microsoft.com Rob Blondeau

unread,
Oct 22, 2004, 7:55:03 PM10/22/04
to
I also have this problem with files and projects that have long been deleted.
I am simply doing a "get" of a project.

What I have found is that I get the same complete list of error messages
once for each file in the project where the file is pinned. If the file is
unpinned (because it's the same as a newer version) then the list of error
messages does not appear for that one file. It does continue to appear for
each of the remaing pinned files in the project.

0 new messages