Questions tagged [tfvc]

Team Foundation Version Control (TFVC) is the centralized version control system option in Microsoft Visual Studio Team Services (VSTS) and Team Foundation Server (TFS).

Team Foundation Version Control (TFVC) is a centralized version control system offered by Visual Studio Team Services (VSTS) and Team Foundation Server (TFS). VSTS and TFS both support hosting either Git repositories or TFVC repositories, so users can select a centralized or a distributed version control system (or both).

TFVC is differs significantly from a distributed version control system, like Git. Instead, it is conceptually similar to other centralized version control systems like Perforce or Subversion with added enterprise requirements. It is optimized and intended for users who require extremely large code bases and who require fine-grained security and auditing of version control operations.

Team Foundation Version Control supports two paradigms:

  • "Server Workspaces": files are read-only and cannot be modified without explicitly being "checked out" from the version control server. (Plug-ins to Visual Studio and Eclipse will perform the check-out from the server automatically.) This is best suited to exceptionally large (up to tens of gigabyte) code bases, since changes must be reported explicitly, therefore it avoids scanning the local repository looking for changes.

  • "Local Workspaces": files can be modified easily, and there is no need to contact the server. Instead, the local workspace will be scanned looking for changes. Filesystem watchers are available on Windows and within the Eclipse IDE to help support very large (up to a gigabyte) repositories.

Team Foundation Version Control supports "working folder mappings", where a client can select a subset of the version control repository that exists on the server and downloading it to the client computer. This allows users to minimize the scope of the remote repository that they need on their workstation.

TFVC is often, incorrectly, referred to as "TFS". TFS (Team Foundation Server), is the name of Microsoft's on-premises Application Lifecycle Management server. TFVC is a version control offering within TFS and VSTS (along with Git), but it is not synonymous with TFS.

813 questions
21
votes
5 answers

One big Git repo or multiple smaller ones

My team of 5 devs maintains a medium sized application consisting of 6 solutions (aka sections). At the moment, we use TFVC for source control. Each solution sits in its own Main branch. I want to migrate to Git. My problem is whether to have 1 Git…
user1147862
  • 4,096
  • 8
  • 36
  • 53
20
votes
2 answers

Merging Development Branch to Main: There were no changes to merge

My main branch has some files that have different codes from the same file of development branch. The development branch is the one that has the correct version of these files but when I am trying to merge it to main branch(target); I am getting a…
aidonsnous
  • 1,475
  • 4
  • 19
  • 41
19
votes
3 answers

Symbolic links in TFS 2010 Source Control?

As far as I know, Team Foundation Server 2010's source control (and prior versions) doesn't support linking (Symbolic links) of files. Linking (per Visual SourceSafe) was the concept of providing one "hard" file in a folder, and then "linking" to it…
RobS
  • 9,382
  • 3
  • 35
  • 63
19
votes
2 answers

TFS 2010 - Deleting a folder in Visual Studio solution before check-in of changes

We are using TFS 2010 and facing a problem with deleting a folder inside of a solution in Visual Studio. In the latest version of checked-in code, the directory in question has files in it. One of the developers decided to move the files in that…
thiag0
  • 2,199
  • 5
  • 31
  • 51
19
votes
4 answers

How to delete TFVC repository in Azure DevOps?

I need to delete a TFVC repository in Azure DevOps, but there seems to be no option to allow me to do it. The only TFVC repository (which I just created) seems to not even have a drop-down menu: In contrast, in the same project, Git's repositories…
myroslav
  • 1,670
  • 1
  • 19
  • 40
19
votes
3 answers

How can I find all of the labels for a particular TFS project sub-folder?

Assume there is a TFS project Project with the subfolders trunk and 1.0. trunk contains the latest version of the application code for this project and 1.0 contains the code for the same application for the released version of the same name. There…
Kenny Evitt
  • 9,291
  • 5
  • 65
  • 93
18
votes
3 answers

How do I "get latest version" for TFS in Visual Studio 2015 RC

This might seem like a stupid question but I just installed VS 2015 RC and I cannot for the life of me figure out how I'm supposed to get the latest version from Team Foundation Server now. It seems the option has been removed from all right-mouse…
user3716312
  • 181
  • 1
  • 1
  • 6
18
votes
1 answer

How to query all the files checked out by a user in Visual Studio 2012 TFS

This question is not a duplicate of Other users checkouts are not visible in Source Control Explorer (TFS Express) In contrast to Other users checkouts are not visible in Source Control Explorer (TFS Express) , I can see who has checked out a…
Brk
  • 478
  • 2
  • 6
  • 17
17
votes
1 answer

Is there a git style amend option in TFVC?

In git there is a very handy feature that lets you fix your last commit, e.g. when you have forgotten something that does not justify a full commit. It is very easy to do this in git: git commit --amend That way you don't have to specify a commit…
ovm
  • 2,452
  • 3
  • 28
  • 51
16
votes
2 answers

What are "Excluded Changes" in Team Foundation Server?

When I check in changes in TFS Express 2013 using Visual Studio 2013 Professional, there is a list of "Excluded Changes" that has 1541 items in it. I have never told TFS to exclude a change, and do not understand why anyone would even want to…
Joe Gayetty
  • 1,521
  • 2
  • 22
  • 35
16
votes
1 answer

How to publicly share a Visual Studio Online Repository?

I was wondering if there was a way I could share my repository on VSO publicly? I use TFVC in Visual Studio, but I'll admit I'm new at it so I'm not really sure how to go about doing nor the steps to take to do it.
William Hodges
  • 661
  • 10
  • 24
15
votes
1 answer

Azure DevOps - organizing projects and repositories

(Posting the question here as this is the 'community' that Microsoft redirects to with a 'Need advice? Ask community' button. Hope it won't get closed as 'primarily opinion based' or 'too broad') Hello, I want to start using AzureDevops in my…
Bartosz
  • 4,406
  • 7
  • 41
  • 80
15
votes
8 answers

VSCODE and TFVC how to connect?

How to connect TFVC (version control) to Visual Studio Code? Interested in basic operations such as checkin, checkout, resolve.
Gleb Svechnikov
  • 275
  • 1
  • 2
  • 8
15
votes
4 answers

Moving files lose history in TFS 2013

I'm using VS2013 Update 4 with TFS 2013 Update 4. In Source Control Explorer, whenever I move a file from one folder to another I can see that the file's history is preserved in the new location. However, that history is gone when I check-in the…
TNV
  • 973
  • 2
  • 11
  • 26
15
votes
9 answers

Access Denied on TFS - PendChange permission

When I try to check out a file from TFS I get the error TF14098: Access Denied User [username] needs PendChange permission(s) for [path]. I have added the user to the contributor group but it still won't let them check out a file.
Ryan
  • 4,602
  • 8
  • 37
  • 43
1
2
3
54 55