Showing posts with label version control. Show all posts
Showing posts with label version control. Show all posts

Saturday, 30 December 2017

Script to Delete All Workspaces of a Computer from TFS

Sometime you need to clean up machines, especially build servers after a TFS upgrade to get the agents working as intended. If you ever come across a situation where you want to remove all Team Foundation Version Control (TFVC) workspaces from TFS for a given machine, considering all collections and all users, the script available here will help you to do that.

Tuesday, 15 August 2017

TFVC History Report with PowerShell

Team Foundation Version Control (TFVC) is widely used with Team Foundation Server and in Team Services, as a source control system to manage source code repositories.Usage of TFVC can be found here. If you want to generate history report for TFVC including details of files changed and any work items associated with the changesets, you can use the script available at TechNet Gallery.

Thursday, 22 January 2015

TFS 2013.4 Version Control – Enhanced Web Portal – Part 2

I have explained few of the enhancements available in TFS Web Portal for Version Control in Part 1. There are lot more really useful enhancements available.

1. It is possible to view a file as of in a given changeset and download the changeset version of the file to local machine.
18
2. Explore as a changeset version allows to view entire solution as of that particular version.
18_1
18_2

As of changeset version can be explored.
18_3
3. Download a solution as of a changeset version.
18_4
4. Annotate a chageset version of a file.
19 20

5. Compare a file for given two changesets.
21
6. Shelveset exploring has similar capabilities to changesets except few like explore as of version which is obvious since it is not committed, so no version is available.
22 23
View shelveset content, add comments/discussions, download shelveset file(s), compare with changesets are few of the available features.
23_1  23_2
7. Sharing a changeset as an email, enhances team collaboration.
24
25

Can share with multiple team members and add more custom content to email is possible.
26

Discussions etc. of the changeset are shrared via email and links are added for easy access.
27
8. Similar to changeset a shelveset can also be shared via email.
28
9. Rename history of the files can be viewed and show hide options available.
29
10. Branched history of file can be viewed with show hide options.
30
Let’s have look in to more new useful features of TFS2013.4 in coming posts.

Monday, 19 January 2015

TFS 2013.4 Version Control – Enhanced Web Portal – Part 1

Several enhancements are released with TFS2013.4 for version control in TFS web portal. Let’s explore them to understand how useful each of them.

1. It is possible to download a source code folder as a zip file from web portal. May be useful, but difficult to come up with a real usage example.

1 

2

2. Code file view provides similar look at code files like in visual studio. This really helps to do code reviews etc. just using the browser. A download of code file is available as well.

2.1

3. Can show/hide annotations of a code file.

2.3

4. Changeset enhanced view provides file by file detailed view of changes.

3

4

Associated work items shown if any.

2.2

5. Discussions can be initiated as comments based on code. Other team members can reply to comments. Possible to add overall comment for the changeset.

5

6. Discussions as inline comments to the changeset code.

6

7. Create a work item based on a discussion on changeset. Would be really useful to create User Story/Bug/Task based on code reviews, discussion on implementation etc.

7

8

 

Discussion can be opened from work item.

9

10

 

8. Changesets can be viewed as list of files, files by folder or with full folder file hierarchy.

11

9. Several options to show comments (discussion comments) and filter files with discussions also available.

12

10. Changeset file changes can be viewed side by side or as inline changes. Inline view is really easy to read with line numbers.

13

14

 

11. As shown above options available to show hide comments made in portal.

15

12. Changeset file view can be in full screen mode.

17

16

There are lot more for for Version Control enhancements in Web Portal and I will show them in Part 2.

Popular Posts