Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 coexisting Ankh SVN and Git

I have two project. The older project (let call it A) is located in subversion repository and newer project B is located in Git repository.

I work with both of these projects in Visual Studio 2013. I have read that the selection of Source control provider shlould be bind with solution, but it does not work for me.

I open sln A and I set up source control provider to AnkhSVN. I open pending changes from menu and it just works. I close solution A.

I open sln B. I open team explorer connected to Git provider and I work with it. It works fine. I close sln B.

I open solution A and I expect the Anhk provider to be set up, but it is not. The source control provider setting is overriden. I have to go every time to Tool -> Option -> Source Control -> Plugin Selection and change the provider to AnkhSVN. It is very annoying.

How do you use it? Is there any solution?

like image 609
Tomas Kubes Avatar asked May 05 '14 11:05

Tomas Kubes


1 Answers

After almost one year dealing with this issue I have two workarounds:

  1. Set ankhSVN as Visual Studio Source Control provider and use git as external tool.
  2. Wrap your SVN repositories with Microsoft Git Provider (git-svn) and use only git as the Visual Studio Source Control provider.

I prefer option 2.

like image 160
Tomas Kubes Avatar answered Nov 10 '22 01:11

Tomas Kubes