Google Search

Google
 

Wednesday, July 9, 2008

Video: How Do I: Use Shelving and Unshelving in Team Foundation Server?

Presented:Richard Hundhausen

In this video, Richard Hundhausen explains and demonstrates version control with the shelving and unshelving features of Team Foundation Server.

The following text is a software generated transcript of the video. Click on a minute link to jump to a location within the video


Minute 0

No monitor townhouse on a principal consultant with existing in a Microsoft regional Director and the Visual Studio team system MVP in his arsenal of shelving and on shelving using team foundation version control shelving a set of changes is very someone checking innocent changes the major difference is that when you check in your changes are shared by the rest of the team but when you shelter worker changes are preserved in a private branch so to speak and are not integrated with what the rest of teams working on therefore currently susceptible to show changes which could break the bills that weren t shelving lets you set aside a batch of pending changes temporary and optionally remove and changes forces far of the shell operations Shell says the changes the shelves that can be restored later in your workspace or somebody else expects possible uses of shelving oxygen rocket working on a feature is recovering your office says a fixes bugs in our

Minute 1

Of the servers that do optics well if we don t want you in your work because those newly compiled at the pass tests so you shall love safer than just putting a copy under siege drive somewhere for harder crashes you lose your work children actually gives about author machine on the server somewhere in a way that other people can look at the demonstration here we are Visual Studio and work it into the adventure Works team projects and curly log in as pale recruit new project depends computer for misuse the Visual Basic class library something simple but we comply with the credit class library was called something like business objects and will save two or workspaces folder credentials and will have a source control

Minute 2

Okay go along her class one as she creates a subroutine call to something and it here or she wants to create a new connection to the system data thoughts of single clients co connection and it is here into southern connection strings and she is stopped Russia s know what connection string is this really is the specialty of days rather than checking the code will give our single while you re sure she is sitting with extra equals of war data from his desk and walk over what can t you do a show for code for the couple ways to shoulder code probably the most straightforward ways using the pending changes window to your weaknesses are you checking your code so social your

Minute 3

When you click the shelf on the issue brings up another window very similar to the pending changes window you can give us a show set name to call the stock on connection string in the comments so I don t know the server name of providers for its and shushing a show of all these pending changes in fact it s everything is a solution and project them and all the individual DB files when you shall even associate with work I have so if Pam had been a task to create this class one organs do something that she can check the boxes here and in city to preserve these changes and evaluate the check in notes before children you could like the check in notes you can put in the code reviewers through your end even if you check this box have check in policies run right now is a check

Minute 4

By default because your code is broken to reason your shelving probably as good interruption or integration in your hand off work somebody else you could probably won t compile runs so why run policies on his optional integer could like good show the code in those locally here in Times works is nothing changed were still pending a low budget ads but we ve also got his copy up on the server as the default way Visual Studio grace shall have the leaves and changes locally as well a bit redundant but having come through here and undo all these changes are rolled back to where she was her workspace and half truths to speak of the shell set if you only place the pending change to minimize this instance of Visual Studio and simulate a walking ad actually fix the problem promoted out of this right click and save run as a Visual Studio shortcut your desktop and will

Minute 5

Organs they ve would have for as far a second instance of Visual Studio is from Wednesday s animal world or stay with the over his workstation and be a Islamist town life is beautiful and run so ways to do this on a regular going to source control Explorer from this machine and go to the file source control menu and unshelved pending changes of the works are false brings a Dean s list of shelves so you can show code to yourself you don t have a clock to go take off early for doctors appointments are not finished working on traditional set explores itself by default under your name I can change that you always shelves as your personal location so given the good name and even short comment this to the points you can find it later it has no shell sets I ve been in

Minute 6

Find him go this is the one that says she called me about stuff and connection string date and comment the new here looking details and sale triggers the comments here are all the files is just like a shall have the details will likely change set in Kosovo is atomically connected information I can look a class wanted the US I can see what s she s actually stuck on your environment spring up with Notepad lesson fast okay solicitor is the problem connection string chooses flap about what I ve been there I can handle this so this point under the summit shoes on show all reasonable workspace and I can go forward and make the changes noticed I can say to restore work items in check and have this is handy if you haven t gone to the trouble was so soothing work items and typing in check in notes because she s handing the soft to me later on this afternoon I go do the checking I can

Minute 7

And keep those work items and notes to retype them a victim of that is the default the default also is to keep a copy of the shelves on the server again Microsoft s default position hears people copies of these pending changes all over the place for safety in a show of us is going to see we ve got here served the business logic solution of the projects I can go ahead and open up the file here plus one and connection string equals and social equals local database and presidential works and integrated security equals as a dependable and open orphanage on those synagogues and I

Minute 8

And properly so we ll check in all or pending changes in a good chuckle responses you re not his class photo into a little project for you to do this before it s a shotgun project code including this comes such a strong political opponents keep a very concise and always use in a good associate work items associate check in notes or by if I chosen to preserve option earlier before and come across when you check in and we ll check in your notice of him have workspace oldies of pending changes are still here refresh nothing is changed but if you as a check and other weird conflict because her version of class one is different than the person fossil server so there s wanting to one s own duties to change

Minute 9

Do these overworked satisfaction was overloaded and I would even go so far as to say file closes solution for source control make sure I have the latest version download and I ve got several conflicts you re safe it s a you re trying to pull down files which is already writable file by the same version in my workspace and can resolve these and we can disable direct local files and folders does happen sometimes that you will pull things out of your workspace production newer and you can just force that over so classical that Apple will change its from the life of housekeeping you want to hear his return to your shelf changes your shell to and actually delete this

Minute 10

Me noticing you delete it after a while right messy in a lot of these social system is taking up server space so anybody with permissions to the files inside the shelves at war with administer shots of permission or who actually created the shelves at as the women come in here and delete these auditors when I was a principal consultant with accessing an Microsoft regional Director and Visual Studio team system MVP and

Click here to go to original video page

No comments: