Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS with Mercurial source control [closed]

I must say, that I know almost nothing about TFS. But have worked with its source control system. For now our team uses Mercurial as source control system, but our managers want the all-in-one system to manage the projects. They want to use Team Foundation Server, but for us distributed model of working with code is better then TFS's source control.

Can we use mercurial as source control system and not loose other TFS benefits for project's management (like bug tracker/ project server)?

like image 490
0x49D1 Avatar asked Apr 15 '11 12:04

0x49D1


People also ask

Is TFS a VCS?

So, TFS has morphed again. Today, VSTS (Visual Studio Team Services) is Microsoft's Git code hosting, collaboration, and DevOps platform. It offers features comparable to other cloud-based Git tools and is the default version control system in Visual Studio. The on-premises version of VSTS is now called TFS.

How do I open a TFS file in Visual Studio?

From the Visual Studio Tools menu, select Options, then select Source Control > Plug-in Selection. Select Visual Studio Team Foundation Server. For Visual Studio Team Foundation Server, enter the name and port number for the Azure DevOps Proxy Server. Select Use SSL encryption (https) to connect.


1 Answers

You can absolutely use TFS without using the source control. I tend to agree with you, TFS's source control would be a huge step backwards if you're coming from Mercurial.

A couple things you'll be giving up.

  • Linking work items to revisions, and the relationship between builds, revisions, and work items.
  • Any reports that rely on source control metrics (code churn etc)
  • Some templates allow you to automatically mark work items as done when you associate a check-in with them, using HG you'll have to do this manually. (not a bad thing, I strongly dislike this behavior)

On the other hand,

  • you can still link work items to changesets by adding an http link to the work item.
  • You can still use Team build if you want, you'll just have to script the build to pull your code from Hg.

I might be missing something, but those are the items off the top of my head.

If they absolutely force you to check into TFS, there are a few people that use Hg "on top" of TFS here, and here

like image 66
Brook Avatar answered Sep 21 '22 08:09

Brook