diff options
author | Javier Suárez Ruiz <javiersuarezruiz@hotmail.com> | 2019-03-01 16:01:00 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-08 11:21:13 +0300 |
commit | 068cd080f251d5cde9a041c66720a86e43ea7055 (patch) | |
tree | dae87f8967cb19f6d2ace4080733027efc6758c8 /main | |
parent | 1787fef0a2f1e8aa21876e693bac96cf05beeba0 (diff) |
Fixes VSTS #801910 - Order VCS by name. In case of Git and Tfvc in the same folder, use Git (we must show a dialog to manage this situation)
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs index a13f8d7867..06d65dd439 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs @@ -663,7 +663,7 @@ namespace MonoDevelop.VersionControl static public IEnumerable<VersionControlSystem> GetVersionControlSystems () { - foreach (VersionControlSystem vs in handlers) + foreach (VersionControlSystem vs in handlers.OrderBy(h => h.Name)) if (vs.IsInstalled) yield return vs; } |