I am trying to develop a system inside VSS where we have a Development
folder a Testing folder and a Production folder. The contents of Development
is shared into Testing and Production. The contents of Development is never
pinned. Testing is pinned at the version released to testing and Production
is pinned at the version released to production.
The only way I can see to do this at present is to pin and unpin one file at
a time, but this is unpractical as my project contains dozens of subfolders
and files.
Thanks
You can use the command line to pin all the files in a project, something
like:
ss pin $/Testing/*.* -VLBeta1
(assuming the Beta1 is a valid label for the project)
This command does not work recursively. If you want to pin recursively all
the files in a folder you'll have to write your own script that traverses
the tree and issues 'ss pin' commands for each folder.
Anyway, if I understand correctly, it looks like you could accomplish what
you need without pinning. Only labels might do the trick you need.
E.g. You can have only one folder $/Development. Whenever a version is
released for testing, you can label the folder say with "Released_Testing".
Whenever the test team needs to get their version they could get recursively
the project on label, using command line like
"ss get $/Development -R -VLReleased_Testing" or the UI (from history window
in the project, select the label, say Get and get recursive the files).
--
Alin Constantin
Email (reversed for spam avoidance) moc.tfosorcim@cnila
This posting is provided "AS IS" with no warranties, and confers no rights.
"Laurence Neville" <laurenc...@hotmail.com> wrote in message
news:6K6h9.1073$qB.41...@newssvr13.news.prodigy.com...
I had considered the kind of solution you suggested, but wanted to make
something more idiot proof and that would deploy the code automatically: I
wanted to use shadowing to duplicate the contents of the Testing folder onto
the Testing Server (the application is a web site, so it would be fine to
let VSS overwrite the contents of the Test website everytime a new version
was released to testing.
Laurence
"Alin Constantin" <moc.tfosorcim@cnila> wrote in message
news:ejNl#qQXCHA.1128@tkmsftngp10...