DCSIMG
Source Control - SRL Group

SRL Group

This blog is about Team System, QA and Development methodologies and more...

VSTS Resources

Team System Bloggers

Browse by Tags

All Tags » Source Control (RSS)
How To Create A Branch In Team System 2008
Before I start with the how to create a branch step by step guide, I like to remind that creating a branch should be done by a SCM (Software Configuration Management) plan and not when ever you “feel” like creating a branch. It is very important to manage your branches or else you will have a big pile of branches that no one knows there purpose. After saying that here is the step by step guide: The demonstration will be for a demo project called "Web Sites". Step 1: Right click the source...
How To Get A File History In TFS Source Control Using Code
A project I am doing these days requires me to get file history changesets using the API . Sounds like a simple task right? Apparently there is not a lot of reference to that in Google, so after almost throwing my computer out of the window (More than once I most admit) I found the answer. Add the following references to your using list: using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.VersionControl.Client; using System.Collections; using System.Windows.Forms; The example function...
How “Get Latest Version” Really Works in TFS Source Control?
Many people using the Source Control of the Team System don’t really understand how do Get Latest Version works . Customers calls me in the middle of the night telling me that they have lost files and lost changes, after the shuck is over I ask them what they did, they tell me: “I did Get Latest Version and I don’t see the files or the changes” . Because that I am tired of getting to customers in the middle of the night I decided to write this post explaining how does it work. Lets start with that...
TFS Hangs while viewing source control folders
Hi, We have been dealing with a strange performance issue with TFS. One of our users reported that he's facing terrible performance issues while working with TFS. Any source control operation takes a long time. Even exploring the source confrol folders causes Visual Studio to hang. Besides that - the client PC works great with any other application and any other network resource. We noticed that those TFS issues happen only in this specific PC, when working with Team explorer 2005 or with 2008...
How To Add Work Flow Transitions To The Source Control Check-In Action?
When doing a Check-In action in the TFS Source Control the best practice is to associate the Check-In to one or more Work Items . How do I choose which transactions from my work flow will be included in the Drop Down list of the work items in the check in window? In the following screenshot we can see the screen I am talking about, you can see the State column and the Check-in Action column what we want to do is add more options (Depends on your workflow). In order to do that we will need to add...
The connection between Software Configuration Management and Environments Management
Many times when I make SCM plan for customers they confuse the Software Configuration Management (SCM) with environments management . When I talk about environments management I talk about the Dev, Test, Staging, Production etc. So why is it so confusing? The main reason that it is so confusing is in the fact that there are very similar actions taken when I manage configuration, for example when I do a Feature Freeze I like to create a test branch that doesn’t mean that I am installing this version...
Managing non mergable files in Team System
Hi, Today I met a very angry developer. This developer and his colleague are using some generator that creates a huge text file (XML based but with its own file suffix) and this file is saved in TFS source control. One programmer checked out the file, modified and checked in. The other programmer checked out (assuming he was working on latest version - well, guess again...), and then tried to check in. Then, check in operation failed because of confilcts. Merging was suggested, but It's almost...
Solution not refreshed with new project
Hi Here's a synchronization problem between solution explorer (VSTS 2008) and source control: We have one solution file, containing all projects, and everybody's working with this solution. If we add a new/existing project to the solution and check in, then other programmers, who are currently working with the solution, will not get this update even if they perform get latest version from the solution explorer ! It seems that "get latest version" operation on solution inside solution...
New empty folders problem in solution explorer
Hi, Today I tried to solve a synchronization problem between VSTS 2008 and Team System, where cs projects contained folders and those folders do not exist in source control. Furthermore, The programmer tried to delete those zombie folders from the solution explorer and got error message claiming those folders do not exist. Well, They Don't, actually. After handling this situation (by excluding zombie folder from project) I managed to recreate the problem: In solution explorer, under any project...
Move your project’s source code using the team source control “Move” command
In this post I like to introduce the source control "Move" option, explain how it works and what to expect when moving the source code from one location to another. The "Move" command is used for moving source code from one location in the source control (Location A) to a target location in the source control (Location B). In order to clarify how it works, I will use the following example: I have created two locations I marked them as "LocationA" and "LocationB"...