"AfzalBasha" wrote:
> Hi All,
>
> I have couple of doubts.Please clarify..
>
> 1. When does Pinning of File really useful.i know after pinning we cannot do modifications to that file.Well,If the other user has Add access right to that folder he can very well Unpin the file which i pinned and start working on that simultneously updating the VSS.
> Can anyone give me a best example where Pinning is really useful?
Pinning is useful when you are performing bug fixes while also performing
ongoing development. Let's say you have released version 1.0 of your product
and are currently developing version 2.0. You have done a few small projects
and checked out/in multiple files. A customer calls in with a bug that needs
immediate resolution. While some developers continue working on the version
2.0 release, a developer can pin version 1.0, branch from that pinned version
and create version 1.1. The version 1.1 can be released to the customer
without including any changes for version 2.0. When version 2.0 is ready for
release, the changes made in version 1.1 can be merged into the code.
I hope that made some sense.
> 2. Is it possible to update live or Production server thru VSS the moment a file is checked in to VSS?Or how can i update production servers directly from VSS?
To update the moment a file is checked in, you would need to write some
type of interface that uses the VSS type libraries. I would not recommend
this route anyway. You can update production servers directly if that server
has access to VSS. You simply pull the latest code down from VSS at the time
you need to do your build.
> TIA
> Regards,
[quoted text clipped - 5 lines]
> Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
> Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...