From 690ccef82e61bf3da0d5fc4d2d8181fce2d24962 Mon Sep 17 00:00:00 2001 From: "ivan.danilov-econ" Date: Thu, 21 Mar 2013 14:35:22 +0200 Subject: [PATCH] Normalized line endings to be LF in repository (line ending in the working copy managed by core.autocrlf option) --- GitTfs.Vs11/GitTfs.Vs11.csproj | 218 ++++++------- GitTfs.Vs11/ParentForm.cs | 54 ++-- GitTfs.Vs11/Properties/AssemblyInfo.cs | 34 +- GitTfs.Vs11/TfsHelper.Vs11.cs | 344 ++++++++++----------- GitTfs.Vs11/TfsPlugin.cs | 38 +-- GitTfs.Vs2008/GitTfs.Vs2008.csproj | 322 +++++++++---------- GitTfs.Vs2010/GitTfs.Vs2010.csproj | 310 +++++++++---------- GitTfs.VsFake/GitTfs.VsFake.csproj | 252 +++++++-------- GitTfs.sln | 192 ++++++------ GitTfs/Core/GitRepository.cs | 2 +- GitTfsBenchmarks/GitTfsBenchmarks.csproj | 250 +++++++-------- GitTfsTest.Vs2010/GitTfsTest.Vs2010.csproj | 272 ++++++++-------- docs/config.md | 106 +++---- 13 files changed, 1197 insertions(+), 1197 deletions(-) diff --git a/GitTfs.Vs11/GitTfs.Vs11.csproj b/GitTfs.Vs11/GitTfs.Vs11.csproj index d19a7e51..8f934994 100644 --- a/GitTfs.Vs11/GitTfs.Vs11.csproj +++ b/GitTfs.Vs11/GitTfs.Vs11.csproj @@ -1,110 +1,110 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6} - Library - Properties - GitTfs.Vs11 - GitTfs.Vs11 - v4.0 - 512 - ..\ - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - true - bin\Vs11_Debug\ - DEBUG;TRACE - full - x86 - prompt - MinimumRecommendedRules.ruleset - - - - - - - - - - - ..\lib\StructureMap\StructureMap.dll - - - - - - - - - - - - - Properties\CommonAssemblyInfo.cs - - - Wrappers.PostVs2010.cs - - - Properties\Version.cs - - - TfsHelper.Common.cs - - - TfsHelper.PostVs2010.Common.cs - - - Wrappers.cs - - - Form - - - - - - - - - {55C169E0-93CC-488C-9885-1D4EAF4EA236} - GitTfs - - - - - xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" - - - + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6} + Library + Properties + GitTfs.Vs11 + GitTfs.Vs11 + v4.0 + 512 + ..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + x86 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + true + bin\Vs11_Debug\ + DEBUG;TRACE + full + x86 + prompt + MinimumRecommendedRules.ruleset + + + + + + + + + + + ..\lib\StructureMap\StructureMap.dll + + + + + + + + + + + + + Properties\CommonAssemblyInfo.cs + + + Wrappers.PostVs2010.cs + + + Properties\Version.cs + + + TfsHelper.Common.cs + + + TfsHelper.PostVs2010.Common.cs + + + Wrappers.cs + + + Form + + + + + + + + + {55C169E0-93CC-488C-9885-1D4EAF4EA236} + GitTfs + + + + + xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" + + + \ No newline at end of file diff --git a/GitTfs.Vs11/ParentForm.cs b/GitTfs.Vs11/ParentForm.cs index 61f63403..6ff26248 100644 --- a/GitTfs.Vs11/ParentForm.cs +++ b/GitTfs.Vs11/ParentForm.cs @@ -1,27 +1,27 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Windows.Forms; - -namespace Sep.Git.Tfs.Vs11 -{ - public class ParentForm : Form - { - public ParentForm() - { - WindowState = FormWindowState.Minimized; - ShowInTaskbar = false; - FormBorderStyle = FormBorderStyle.None; - StartPosition = FormStartPosition.CenterParent; - } - - protected override void OnLoad(EventArgs e) - { - Visible = false; - base.OnLoad(e); - WindowState = FormWindowState.Normal; - CenterToParent(); - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace Sep.Git.Tfs.Vs11 +{ + public class ParentForm : Form + { + public ParentForm() + { + WindowState = FormWindowState.Minimized; + ShowInTaskbar = false; + FormBorderStyle = FormBorderStyle.None; + StartPosition = FormStartPosition.CenterParent; + } + + protected override void OnLoad(EventArgs e) + { + Visible = false; + base.OnLoad(e); + WindowState = FormWindowState.Normal; + CenterToParent(); + } + } +} diff --git a/GitTfs.Vs11/Properties/AssemblyInfo.cs b/GitTfs.Vs11/Properties/AssemblyInfo.cs index 6bc7bb83..5fbf2335 100644 --- a/GitTfs.Vs11/Properties/AssemblyInfo.cs +++ b/GitTfs.Vs11/Properties/AssemblyInfo.cs @@ -1,17 +1,17 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("GitTfs.Vs11")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("d2c68247-a04a-464a-899d-a906c6828174")] +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("GitTfs.Vs11")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d2c68247-a04a-464a-899d-a906c6828174")] diff --git a/GitTfs.Vs11/TfsHelper.Vs11.cs b/GitTfs.Vs11/TfsHelper.Vs11.cs index f0b75b17..f8fca8ff 100644 --- a/GitTfs.Vs11/TfsHelper.Vs11.cs +++ b/GitTfs.Vs11/TfsHelper.Vs11.cs @@ -1,172 +1,172 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Reflection; -using Microsoft.TeamFoundation.Client; -using Microsoft.TeamFoundation.VersionControl.Client; -using Microsoft.TeamFoundation.WorkItemTracking.Client; -using Microsoft.Win32; -using Sep.Git.Tfs.Core; -using Sep.Git.Tfs.Core.TfsInterop; -using Sep.Git.Tfs.Util; -using Sep.Git.Tfs.VsCommon; -using StructureMap; - -namespace Sep.Git.Tfs.Vs11 -{ - using System.Net; - - using Microsoft.TeamFoundation.Framework.Client; - - public class TfsHelper : TfsHelperVs2010Base - { - private readonly TfsApiBridge _bridge; - private TfsTeamProjectCollection _server; - - public TfsHelper(TextWriter stdout, TfsApiBridge bridge, IContainer container) : base(stdout, bridge, container) - { - _bridge = bridge; - } - - public override string TfsClientLibraryVersion - { - get { return typeof(TfsTeamProjectCollection).Assembly.GetName().Version + " (MS)"; } - } - - public override void EnsureAuthenticated() - { - if (string.IsNullOrEmpty(Url)) - { - _server = null; - } - else - { - Uri uri; - if (!Uri.IsWellFormedUriString(Url, UriKind.Absolute)) - { - // maybe it is not an Uri but instance name - var servers = RegisteredTfsConnections.GetConfigurationServers(); - var registered = servers.FirstOrDefault(s => String.Compare(s.Name, Url, StringComparison.OrdinalIgnoreCase) == 0); - if (registered == null) - throw new GitTfsException("Given tfs name is not correct URI and not found as a registered TFS instance"); - uri = registered.Uri; - } - else - { - uri = new Uri(Url); - } - - // TODO: Use TfsTeamProjectCollection constructor that takes a TfsClientCredentials object - _server = HasCredentials ? - new TfsTeamProjectCollection(uri, GetCredential(), new UICredentialsProvider()) : - new TfsTeamProjectCollection(uri, new UICredentialsProvider()); - - _server.EnsureAuthenticated(); - } - } - - protected override T GetService() - { - if (_server == null) EnsureAuthenticated(); - return (T) _server.GetService(typeof (T)); - } - - protected override string GetAuthenticatedUser() - { - return VersionControl.AuthorizedUser; - } - - public override bool CanShowCheckinDialog { get { return true; } } - - public override long ShowCheckinDialog(IWorkspace workspace, IPendingChange[] pendingChanges, IEnumerable checkedInfos, string checkinComment) - { - return ShowCheckinDialog(_bridge.Unwrap(workspace), - pendingChanges.Select(p => _bridge.Unwrap(p)).ToArray(), - checkedInfos.Select(c => _bridge.Unwrap(c)).ToArray(), - checkinComment); - } - - private long ShowCheckinDialog(Workspace workspace, PendingChange[] pendingChanges, - WorkItemCheckedInfo[] checkedInfos, string checkinComment) - { - using (var parentForm = new ParentForm()) - { - parentForm.Show(); - - var dialog = Activator.CreateInstance(GetCheckinDialogType(), new object[] {workspace.VersionControlServer}); - - return dialog.Call("Show", parentForm.Handle, workspace, pendingChanges, pendingChanges, - checkinComment, null, null, checkedInfos); - } - } - - private const string DialogAssemblyName = "Microsoft.TeamFoundation.VersionControl.ControlAdapter"; - - private static Type GetCheckinDialogType() - { - return GetDialogAssembly().GetType(DialogAssemblyName + ".CheckinDialog"); - } - - private static Assembly GetDialogAssembly() - { - return Assembly.LoadFrom(GetDialogAssemblyPath()); - } - - private static string GetDialogAssemblyPath() - { - return Path.Combine(GetVs11InstallDir(), "PrivateAssemblies", DialogAssemblyName + ".dll"); - } - - private static string GetVs11InstallDir() - { - return TryGetRegString(@"Software\Microsoft\VisualStudio\11.0", "InstallDir") - ?? TryGetRegString(@"Software\WOW6432Node\Microsoft\VisualStudio\11.0", "InstallDir"); - } - - private static string TryGetRegString(string path, string name) - { - try - { - Trace.WriteLine("Trying to get " + path + "|" + name); - var key = Registry.LocalMachine.OpenSubKey(path); - if(key != null) - { - return key.GetValue(name) as string; - } - } - catch(Exception e) - { - Trace.WriteLine("Unable to get registry value " + path + "|" + name + ": " + e); - } - return null; - } - } - - public class ItemDownloadStrategy : IItemDownloadStrategy - { - private readonly TfsApiBridge _bridge; - - public ItemDownloadStrategy(TfsApiBridge bridge) - { - _bridge = bridge; - } - - public TemporaryFile DownloadFile(IItem item) - { - var temp = new TemporaryFile(); - try - { - _bridge.Unwrap(item).DownloadFile(temp); - return temp; - } - catch (Exception e) - { - Trace.WriteLine(String.Format("Something went wrong downloading \"{0}\" in changeset {1}", item.ServerItem, item.ChangesetId)); - temp.Dispose(); - throw; - } - } - } -} +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Linq; +using System.Reflection; +using Microsoft.TeamFoundation.Client; +using Microsoft.TeamFoundation.VersionControl.Client; +using Microsoft.TeamFoundation.WorkItemTracking.Client; +using Microsoft.Win32; +using Sep.Git.Tfs.Core; +using Sep.Git.Tfs.Core.TfsInterop; +using Sep.Git.Tfs.Util; +using Sep.Git.Tfs.VsCommon; +using StructureMap; + +namespace Sep.Git.Tfs.Vs11 +{ + using System.Net; + + using Microsoft.TeamFoundation.Framework.Client; + + public class TfsHelper : TfsHelperVs2010Base + { + private readonly TfsApiBridge _bridge; + private TfsTeamProjectCollection _server; + + public TfsHelper(TextWriter stdout, TfsApiBridge bridge, IContainer container) : base(stdout, bridge, container) + { + _bridge = bridge; + } + + public override string TfsClientLibraryVersion + { + get { return typeof(TfsTeamProjectCollection).Assembly.GetName().Version + " (MS)"; } + } + + public override void EnsureAuthenticated() + { + if (string.IsNullOrEmpty(Url)) + { + _server = null; + } + else + { + Uri uri; + if (!Uri.IsWellFormedUriString(Url, UriKind.Absolute)) + { + // maybe it is not an Uri but instance name + var servers = RegisteredTfsConnections.GetConfigurationServers(); + var registered = servers.FirstOrDefault(s => String.Compare(s.Name, Url, StringComparison.OrdinalIgnoreCase) == 0); + if (registered == null) + throw new GitTfsException("Given tfs name is not correct URI and not found as a registered TFS instance"); + uri = registered.Uri; + } + else + { + uri = new Uri(Url); + } + + // TODO: Use TfsTeamProjectCollection constructor that takes a TfsClientCredentials object + _server = HasCredentials ? + new TfsTeamProjectCollection(uri, GetCredential(), new UICredentialsProvider()) : + new TfsTeamProjectCollection(uri, new UICredentialsProvider()); + + _server.EnsureAuthenticated(); + } + } + + protected override T GetService() + { + if (_server == null) EnsureAuthenticated(); + return (T) _server.GetService(typeof (T)); + } + + protected override string GetAuthenticatedUser() + { + return VersionControl.AuthorizedUser; + } + + public override bool CanShowCheckinDialog { get { return true; } } + + public override long ShowCheckinDialog(IWorkspace workspace, IPendingChange[] pendingChanges, IEnumerable checkedInfos, string checkinComment) + { + return ShowCheckinDialog(_bridge.Unwrap(workspace), + pendingChanges.Select(p => _bridge.Unwrap(p)).ToArray(), + checkedInfos.Select(c => _bridge.Unwrap(c)).ToArray(), + checkinComment); + } + + private long ShowCheckinDialog(Workspace workspace, PendingChange[] pendingChanges, + WorkItemCheckedInfo[] checkedInfos, string checkinComment) + { + using (var parentForm = new ParentForm()) + { + parentForm.Show(); + + var dialog = Activator.CreateInstance(GetCheckinDialogType(), new object[] {workspace.VersionControlServer}); + + return dialog.Call("Show", parentForm.Handle, workspace, pendingChanges, pendingChanges, + checkinComment, null, null, checkedInfos); + } + } + + private const string DialogAssemblyName = "Microsoft.TeamFoundation.VersionControl.ControlAdapter"; + + private static Type GetCheckinDialogType() + { + return GetDialogAssembly().GetType(DialogAssemblyName + ".CheckinDialog"); + } + + private static Assembly GetDialogAssembly() + { + return Assembly.LoadFrom(GetDialogAssemblyPath()); + } + + private static string GetDialogAssemblyPath() + { + return Path.Combine(GetVs11InstallDir(), "PrivateAssemblies", DialogAssemblyName + ".dll"); + } + + private static string GetVs11InstallDir() + { + return TryGetRegString(@"Software\Microsoft\VisualStudio\11.0", "InstallDir") + ?? TryGetRegString(@"Software\WOW6432Node\Microsoft\VisualStudio\11.0", "InstallDir"); + } + + private static string TryGetRegString(string path, string name) + { + try + { + Trace.WriteLine("Trying to get " + path + "|" + name); + var key = Registry.LocalMachine.OpenSubKey(path); + if(key != null) + { + return key.GetValue(name) as string; + } + } + catch(Exception e) + { + Trace.WriteLine("Unable to get registry value " + path + "|" + name + ": " + e); + } + return null; + } + } + + public class ItemDownloadStrategy : IItemDownloadStrategy + { + private readonly TfsApiBridge _bridge; + + public ItemDownloadStrategy(TfsApiBridge bridge) + { + _bridge = bridge; + } + + public TemporaryFile DownloadFile(IItem item) + { + var temp = new TemporaryFile(); + try + { + _bridge.Unwrap(item).DownloadFile(temp); + return temp; + } + catch (Exception e) + { + Trace.WriteLine(String.Format("Something went wrong downloading \"{0}\" in changeset {1}", item.ServerItem, item.ChangesetId)); + temp.Dispose(); + throw; + } + } + } +} diff --git a/GitTfs.Vs11/TfsPlugin.cs b/GitTfs.Vs11/TfsPlugin.cs index 83b63702..63a35bc0 100644 --- a/GitTfs.Vs11/TfsPlugin.cs +++ b/GitTfs.Vs11/TfsPlugin.cs @@ -1,20 +1,20 @@ -namespace Sep.Git.Tfs.Vs11 -{ - class TfsPlugin : Sep.Git.Tfs.Core.TfsInterop.TfsPlugin - { - public override void Initialize(StructureMap.Graph.IAssemblyScanner scan) - { - base.Initialize(scan); - scan.AssemblyContainingType(typeof(Microsoft.TeamFoundation.Client.TfsTeamProjectCollection)); - } - - public override void Initialize(StructureMap.ConfigurationExpression config) - { - } - - public override bool IsViable() - { - return null != typeof(Microsoft.TeamFoundation.Client.TfsTeamProjectCollection).Assembly; - } - } +namespace Sep.Git.Tfs.Vs11 +{ + class TfsPlugin : Sep.Git.Tfs.Core.TfsInterop.TfsPlugin + { + public override void Initialize(StructureMap.Graph.IAssemblyScanner scan) + { + base.Initialize(scan); + scan.AssemblyContainingType(typeof(Microsoft.TeamFoundation.Client.TfsTeamProjectCollection)); + } + + public override void Initialize(StructureMap.ConfigurationExpression config) + { + } + + public override bool IsViable() + { + return null != typeof(Microsoft.TeamFoundation.Client.TfsTeamProjectCollection).Assembly; + } + } } \ No newline at end of file diff --git a/GitTfs.Vs2008/GitTfs.Vs2008.csproj b/GitTfs.Vs2008/GitTfs.Vs2008.csproj index 20a4b0fa..a5cd0887 100644 --- a/GitTfs.Vs2008/GitTfs.Vs2008.csproj +++ b/GitTfs.Vs2008/GitTfs.Vs2008.csproj @@ -1,162 +1,162 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {09BF8124-19A8-45BE-896B-536CA0F3F0FC} - Library - Properties - Sep.Git.Tfs.Vs2008 - GitTfs.Vs2008 - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - ..\ - true - - - true - bin\Debug\ - DEBUG;TRACE - full - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - - - bin\Release\ - TRACE - true - pdbonly - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - - - true - bin\x86\Vs11_Debug\ - DEBUG;TRACE - full - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - true - true - - - - C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.dll - - - C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.Client.dll - - - C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.Common.dll - - - C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.Common.Library.dll - - - C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.VersionControl.Client.dll - - - C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.WorkItemTracking.Client.dll - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - False - ..\lib\StructureMap\StructureMap.dll - - - - - Properties\CommonAssemblyInfo.cs - - - TfsHelper.Common.cs - - - Wrappers.cs - - - Properties\Version.cs - - - - - - - - - {55C169E0-93CC-488C-9885-1D4EAF4EA236} - GitTfs - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - - xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" - - + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {09BF8124-19A8-45BE-896B-536CA0F3F0FC} + Library + Properties + Sep.Git.Tfs.Vs2008 + GitTfs.Vs2008 + v4.0 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + ..\ + true + + + true + bin\Debug\ + DEBUG;TRACE + full + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + + + bin\Release\ + TRACE + true + pdbonly + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + + + true + bin\x86\Vs11_Debug\ + DEBUG;TRACE + full + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + true + true + + + + C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.dll + + + C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.Client.dll + + + C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.Common.dll + + + C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.Common.Library.dll + + + C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.VersionControl.Client.dll + + + C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.WorkItemTracking.Client.dll + + + + 3.5 + + + 3.5 + + + 3.5 + + + + + False + ..\lib\StructureMap\StructureMap.dll + + + + + Properties\CommonAssemblyInfo.cs + + + TfsHelper.Common.cs + + + Wrappers.cs + + + Properties\Version.cs + + + + + + + + + {55C169E0-93CC-488C-9885-1D4EAF4EA236} + GitTfs + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + + xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" + + \ No newline at end of file diff --git a/GitTfs.Vs2010/GitTfs.Vs2010.csproj b/GitTfs.Vs2010/GitTfs.Vs2010.csproj index b9d21892..39d46778 100644 --- a/GitTfs.Vs2010/GitTfs.Vs2010.csproj +++ b/GitTfs.Vs2010/GitTfs.Vs2010.csproj @@ -1,156 +1,156 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62} - Library - Properties - Sep.Git.Tfs.Vs2010 - GitTfs.Vs2010 - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - ..\ - true - - - true - bin\Debug\ - DEBUG;TRACE - full - AnyCPU - prompt - AllRules.ruleset - false - - - bin\Release\ - TRACE - true - pdbonly - AnyCPU - prompt - AllRules.ruleset - false - - - true - bin\Vs11_Debug\ - DEBUG;TRACE - full - AnyCPU - prompt - AllRules.ruleset - false - - - - - - - - - - - False - ..\lib\StructureMap\StructureMap.dll - - - - 3.5 - - - - 3.5 - - - 3.5 - - - - - - - Properties\CommonAssemblyInfo.cs - - - TfsHelper.Common.cs - - - TfsHelper.PostVs2010.Common.cs - - - Wrappers.cs - - - Wrappers.PostVs2010.cs - - - Properties\Version.cs - - - Form - - - - - - - - - {55C169E0-93CC-488C-9885-1D4EAF4EA236} - GitTfs - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - - xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" - - + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62} + Library + Properties + Sep.Git.Tfs.Vs2010 + GitTfs.Vs2010 + v4.0 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + ..\ + true + + + true + bin\Debug\ + DEBUG;TRACE + full + AnyCPU + prompt + AllRules.ruleset + false + + + bin\Release\ + TRACE + true + pdbonly + AnyCPU + prompt + AllRules.ruleset + false + + + true + bin\Vs11_Debug\ + DEBUG;TRACE + full + AnyCPU + prompt + AllRules.ruleset + false + + + + + + + + + + + False + ..\lib\StructureMap\StructureMap.dll + + + + 3.5 + + + + 3.5 + + + 3.5 + + + + + + + Properties\CommonAssemblyInfo.cs + + + TfsHelper.Common.cs + + + TfsHelper.PostVs2010.Common.cs + + + Wrappers.cs + + + Wrappers.PostVs2010.cs + + + Properties\Version.cs + + + Form + + + + + + + + + {55C169E0-93CC-488C-9885-1D4EAF4EA236} + GitTfs + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + + xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" + + \ No newline at end of file diff --git a/GitTfs.VsFake/GitTfs.VsFake.csproj b/GitTfs.VsFake/GitTfs.VsFake.csproj index 0fa2f58f..361287e2 100644 --- a/GitTfs.VsFake/GitTfs.VsFake.csproj +++ b/GitTfs.VsFake/GitTfs.VsFake.csproj @@ -1,133 +1,133 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {20C411E8-49C7-11E1-A776-3FE84824019B} - Library - Properties - Sep.Git.Tfs.VsFake - GitTfs.VsFake - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - ..\ - true - - - true - bin\Debug\ - DEBUG;TRACE - full - AnyCPU - prompt - AllRules.ruleset - false - - - bin\Release\ - TRACE - true - pdbonly - AnyCPU - prompt - AllRules.ruleset - - - true - bin\Vs11_Debug\ - DEBUG;TRACE - full - AnyCPU - prompt - AllRules.ruleset - false - - - - False - ..\lib\StructureMap\StructureMap.dll - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - Properties\CommonAssemblyInfo.cs - - - Properties\Version.cs - - - - - - - - - {55C169E0-93CC-488C-9885-1D4EAF4EA236} - GitTfs - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {20C411E8-49C7-11E1-A776-3FE84824019B} + Library + Properties + Sep.Git.Tfs.VsFake + GitTfs.VsFake + v4.0 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + ..\ + true + + + true + bin\Debug\ + DEBUG;TRACE + full + AnyCPU + prompt + AllRules.ruleset + false + + + bin\Release\ + TRACE + true + pdbonly + AnyCPU + prompt + AllRules.ruleset + + + true + bin\Vs11_Debug\ + DEBUG;TRACE + full + AnyCPU + prompt + AllRules.ruleset + false + + + + False + ..\lib\StructureMap\StructureMap.dll + + + + 3.5 + + + 3.5 + + + 3.5 + + + + + + + Properties\CommonAssemblyInfo.cs + + + Properties\Version.cs + + + + + + + + + {55C169E0-93CC-488C-9885-1D4EAF4EA236} + GitTfs + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + - - xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" - cp "$(TargetDir)"*.dll "$(SolutionDir)GitTfs\$(OutDir)" - - + --> + + xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" + cp "$(TargetDir)"*.dll "$(SolutionDir)GitTfs\$(OutDir)" + + diff --git a/GitTfs.sln b/GitTfs.sln index 2b2419e1..5fa4340e 100644 --- a/GitTfs.sln +++ b/GitTfs.sln @@ -1,96 +1,96 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs", "GitTfs\GitTfs.csproj", "{55C169E0-93CC-488C-9885-1D4EAF4EA236}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfsTest", "GitTfsTest\GitTfsTest.csproj", "{DDFB4746-2BCE-4B34-8E45-056324CF140D}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs.Vs2008", "GitTfs.Vs2008\GitTfs.Vs2008.csproj", "{09BF8124-19A8-45BE-896B-536CA0F3F0FC}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs.Vs2010", "GitTfs.Vs2010\GitTfs.Vs2010.csproj", "{C5A374D3-A2E1-407C-9D6D-541FDB53BD62}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs.VsFake", "GitTfs.VsFake\GitTfs.VsFake.csproj", "{20C411E8-49C7-11E1-A776-3FE84824019B}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs.Vs11", "GitTfs.Vs11\GitTfs.Vs11.csproj", "{699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibGit2Sharp", "lib\libgit2sharp\LibGit2Sharp\LibGit2Sharp.csproj", "{EE6ED99F-CB12-4683-B055-D28FC7357A34}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F52EAF74-50FA-495E-8A4A-29F91F4C00C9}" - ProjectSection(SolutionItems) = preProject - .nuget\NuGet.exe = .nuget\NuGet.exe - .nuget\nuget.targets = .nuget\nuget.targets - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{4A46FEEE-B8A2-4445-B9D1-8160520C7301}" - ProjectSection(SolutionItems) = preProject - docs\config.md = docs\config.md - EndProjectSection -EndProject -Global - GlobalSection(TestCaseManagementSettings) = postSolution - CategoryFile = GitTfs1.vsmdi - EndGlobalSection - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Debug|Any CPU.Build.0 = Debug|Any CPU - {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Debug|x86.ActiveCfg = Debug|x86 - {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Debug|x86.Build.0 = Debug|x86 - {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Release|Any CPU.ActiveCfg = Release|Any CPU - {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Release|Any CPU.Build.0 = Release|Any CPU - {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Release|x86.ActiveCfg = Release|x86 - {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Release|x86.Build.0 = Release|x86 - {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Debug|x86.ActiveCfg = Debug|x86 - {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Debug|x86.Build.0 = Debug|x86 - {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Release|x86.ActiveCfg = Release|x86 - {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Debug|Any CPU.ActiveCfg = Debug|x86 - {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Debug|x86.ActiveCfg = Debug|x86 - {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Debug|x86.Build.0 = Debug|x86 - {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Release|Any CPU.ActiveCfg = Release|x86 - {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Release|x86.ActiveCfg = Release|x86 - {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Release|x86.Build.0 = Release|x86 - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Debug|x86.ActiveCfg = Debug|Any CPU - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Debug|x86.Build.0 = Debug|Any CPU - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Release|Any CPU.Build.0 = Release|Any CPU - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Release|x86.ActiveCfg = Release|Any CPU - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Release|x86.Build.0 = Release|Any CPU - {20C411E8-49C7-11E1-A776-3FE84824019B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {20C411E8-49C7-11E1-A776-3FE84824019B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {20C411E8-49C7-11E1-A776-3FE84824019B}.Debug|x86.ActiveCfg = Debug|Any CPU - {20C411E8-49C7-11E1-A776-3FE84824019B}.Debug|x86.Build.0 = Debug|Any CPU - {20C411E8-49C7-11E1-A776-3FE84824019B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {20C411E8-49C7-11E1-A776-3FE84824019B}.Release|Any CPU.Build.0 = Release|Any CPU - {20C411E8-49C7-11E1-A776-3FE84824019B}.Release|x86.ActiveCfg = Release|Any CPU - {20C411E8-49C7-11E1-A776-3FE84824019B}.Release|x86.Build.0 = Release|Any CPU - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Debug|x86.ActiveCfg = Debug|Any CPU - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Debug|x86.Build.0 = Debug|Any CPU - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Release|Any CPU.Build.0 = Release|Any CPU - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Release|x86.ActiveCfg = Release|Any CPU - {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Release|x86.Build.0 = Release|Any CPU - {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|x86.ActiveCfg = Debug|Any CPU - {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|x86.Build.0 = Debug|Any CPU - {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.Build.0 = Release|Any CPU - {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|x86.ActiveCfg = Release|Any CPU - {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs", "GitTfs\GitTfs.csproj", "{55C169E0-93CC-488C-9885-1D4EAF4EA236}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfsTest", "GitTfsTest\GitTfsTest.csproj", "{DDFB4746-2BCE-4B34-8E45-056324CF140D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs.Vs2008", "GitTfs.Vs2008\GitTfs.Vs2008.csproj", "{09BF8124-19A8-45BE-896B-536CA0F3F0FC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs.Vs2010", "GitTfs.Vs2010\GitTfs.Vs2010.csproj", "{C5A374D3-A2E1-407C-9D6D-541FDB53BD62}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs.VsFake", "GitTfs.VsFake\GitTfs.VsFake.csproj", "{20C411E8-49C7-11E1-A776-3FE84824019B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTfs.Vs11", "GitTfs.Vs11\GitTfs.Vs11.csproj", "{699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibGit2Sharp", "lib\libgit2sharp\LibGit2Sharp\LibGit2Sharp.csproj", "{EE6ED99F-CB12-4683-B055-D28FC7357A34}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F52EAF74-50FA-495E-8A4A-29F91F4C00C9}" + ProjectSection(SolutionItems) = preProject + .nuget\NuGet.exe = .nuget\NuGet.exe + .nuget\nuget.targets = .nuget\nuget.targets + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{4A46FEEE-B8A2-4445-B9D1-8160520C7301}" + ProjectSection(SolutionItems) = preProject + docs\config.md = docs\config.md + EndProjectSection +EndProject +Global + GlobalSection(TestCaseManagementSettings) = postSolution + CategoryFile = GitTfs1.vsmdi + EndGlobalSection + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Debug|Any CPU.Build.0 = Debug|Any CPU + {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Debug|x86.ActiveCfg = Debug|x86 + {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Debug|x86.Build.0 = Debug|x86 + {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Release|Any CPU.ActiveCfg = Release|Any CPU + {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Release|Any CPU.Build.0 = Release|Any CPU + {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Release|x86.ActiveCfg = Release|x86 + {55C169E0-93CC-488C-9885-1D4EAF4EA236}.Release|x86.Build.0 = Release|x86 + {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Debug|x86.ActiveCfg = Debug|x86 + {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Debug|x86.Build.0 = Debug|x86 + {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DDFB4746-2BCE-4B34-8E45-056324CF140D}.Release|x86.ActiveCfg = Release|x86 + {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Debug|Any CPU.ActiveCfg = Debug|x86 + {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Debug|x86.ActiveCfg = Debug|x86 + {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Debug|x86.Build.0 = Debug|x86 + {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Release|Any CPU.ActiveCfg = Release|x86 + {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Release|x86.ActiveCfg = Release|x86 + {09BF8124-19A8-45BE-896B-536CA0F3F0FC}.Release|x86.Build.0 = Release|x86 + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Debug|x86.ActiveCfg = Debug|Any CPU + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Debug|x86.Build.0 = Debug|Any CPU + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Release|Any CPU.Build.0 = Release|Any CPU + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Release|x86.ActiveCfg = Release|Any CPU + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62}.Release|x86.Build.0 = Release|Any CPU + {20C411E8-49C7-11E1-A776-3FE84824019B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {20C411E8-49C7-11E1-A776-3FE84824019B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {20C411E8-49C7-11E1-A776-3FE84824019B}.Debug|x86.ActiveCfg = Debug|Any CPU + {20C411E8-49C7-11E1-A776-3FE84824019B}.Debug|x86.Build.0 = Debug|Any CPU + {20C411E8-49C7-11E1-A776-3FE84824019B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {20C411E8-49C7-11E1-A776-3FE84824019B}.Release|Any CPU.Build.0 = Release|Any CPU + {20C411E8-49C7-11E1-A776-3FE84824019B}.Release|x86.ActiveCfg = Release|Any CPU + {20C411E8-49C7-11E1-A776-3FE84824019B}.Release|x86.Build.0 = Release|Any CPU + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Debug|x86.ActiveCfg = Debug|Any CPU + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Debug|x86.Build.0 = Debug|Any CPU + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Release|Any CPU.Build.0 = Release|Any CPU + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Release|x86.ActiveCfg = Release|Any CPU + {699CE23D-8BBD-4C15-82E9-7A628ACCA4C6}.Release|x86.Build.0 = Release|Any CPU + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|x86.ActiveCfg = Debug|Any CPU + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|x86.Build.0 = Debug|Any CPU + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.Build.0 = Release|Any CPU + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|x86.ActiveCfg = Release|Any CPU + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/GitTfs/Core/GitRepository.cs b/GitTfs/Core/GitRepository.cs index 55da335e..4a332ec2 100644 --- a/GitTfs/Core/GitRepository.cs +++ b/GitTfs/Core/GitRepository.cs @@ -292,7 +292,7 @@ namespace Sep.Git.Tfs.Core } // Add the final changesetinfo object; it won't be handled in the loop - // if it was part of the last commit message. + // if it was part of the last commit message. if (lastChangesetInfo != null) tfsCommits.Add(lastChangesetInfo); diff --git a/GitTfsBenchmarks/GitTfsBenchmarks.csproj b/GitTfsBenchmarks/GitTfsBenchmarks.csproj index a86db371..6b46dc44 100644 --- a/GitTfsBenchmarks/GitTfsBenchmarks.csproj +++ b/GitTfsBenchmarks/GitTfsBenchmarks.csproj @@ -1,132 +1,132 @@ - - - - Debug - x86 - 9.0.30729 - 2.0 - {7C7FEA7A-24A1-4834-9815-1DF980C340F3} - Exe - Properties - Sep.Git.Tfs - GitTfsBenchmarks - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - ..\ - true - - - true - bin\Debug\ - DEBUG;TRACE - full - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - - - bin\Release\ - TRACE - true - pdbonly - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - - - true - bin\x86\Vs11_Debug\ - DEBUG;TRACE - full - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - true - true - - - - False - ..\lib\StructureMap\StructureMap.dll - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - {55C169E0-93CC-488C-9885-1D4EAF4EA236} - GitTfs - - - {EE6ED99F-CB12-4683-B055-D28FC7357A34} - LibGit2Sharp - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - + + + + Debug + x86 + 9.0.30729 + 2.0 + {7C7FEA7A-24A1-4834-9815-1DF980C340F3} + Exe + Properties + Sep.Git.Tfs + GitTfsBenchmarks + v4.0 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + ..\ + true + + + true + bin\Debug\ + DEBUG;TRACE + full + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + + + bin\Release\ + TRACE + true + pdbonly + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + + + true + bin\x86\Vs11_Debug\ + DEBUG;TRACE + full + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + true + true + + + + False + ..\lib\StructureMap\StructureMap.dll + + + + 3.5 + + + 3.5 + + + 3.5 + + + + + + + + + + + + {55C169E0-93CC-488C-9885-1D4EAF4EA236} + GitTfs + + + {EE6ED99F-CB12-4683-B055-D28FC7357A34} + LibGit2Sharp + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + --> \ No newline at end of file diff --git a/GitTfsTest.Vs2010/GitTfsTest.Vs2010.csproj b/GitTfsTest.Vs2010/GitTfsTest.Vs2010.csproj index feec5b24..84a4bd37 100644 --- a/GitTfsTest.Vs2010/GitTfsTest.Vs2010.csproj +++ b/GitTfsTest.Vs2010/GitTfsTest.Vs2010.csproj @@ -1,143 +1,143 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {B2BF1C1C-BB58-4DEF-BFEF-DE0D2FE2E8F7} - Library - Properties - GitTfsTest.Vs2010 - GitTfsTest.Vs2010 - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - ..\ - true - - - true - bin\x86\Debug\ - DEBUG;TRACE - full - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - - - bin\x86\Release\ - TRACE - true - pdbonly - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - - - true - bin\x86\Vs11_Debug\ - DEBUG;TRACE - full - x86 - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - true - true - - - - - - False - ..\lib\StructureMap\Rhino.Mocks.dll - - - False - ..\lib\StructureMap\StructureMap.AutoMocking.dll - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - ..\packages\xunit.1.9.1\lib\net20\xunit.dll - - - - - - - - - {C5A374D3-A2E1-407C-9D6D-541FDB53BD62} - GitTfs.Vs2010 - - - {55C169E0-93CC-488C-9885-1D4EAF4EA236} - GitTfs - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - - - + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {B2BF1C1C-BB58-4DEF-BFEF-DE0D2FE2E8F7} + Library + Properties + GitTfsTest.Vs2010 + GitTfsTest.Vs2010 + v4.0 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + ..\ + true + + + true + bin\x86\Debug\ + DEBUG;TRACE + full + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + + + bin\x86\Release\ + TRACE + true + pdbonly + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + + + true + bin\x86\Vs11_Debug\ + DEBUG;TRACE + full + x86 + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + true + true + + + + + + False + ..\lib\StructureMap\Rhino.Mocks.dll + + + False + ..\lib\StructureMap\StructureMap.AutoMocking.dll + + + + 3.5 + + + 3.5 + + + 3.5 + + + + + ..\packages\xunit.1.9.1\lib\net20\xunit.dll + + + + + + + + + {C5A374D3-A2E1-407C-9D6D-541FDB53BD62} + GitTfs.Vs2010 + + + {55C169E0-93CC-488C-9885-1D4EAF4EA236} + GitTfs + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + + + + --> \ No newline at end of file diff --git a/docs/config.md b/docs/config.md index 25e0744e..a664bf0e 100644 --- a/docs/config.md +++ b/docs/config.md @@ -1,53 +1,53 @@ -# Git-tfs config values - -Git-tfs uses git's configuration system to track most of the important -information about repositories. - -## Repository-wide configuration - -By default, git-tfs sets these configuration values for the repository -during `git tfs init`. - -* `core.ignorecase` is set to `true`, in an attempt to deal with - casing issues. -* `core.autocrlf` is set to `false`. This will make git preserve all - characters (including CR and LF) in all files. The reason for doing - this is to make the result of `git tfs clone` as nearly identical, - byte-wise, as possible, to the version in TFS. - -## Per-TFS remote - -Git-tfs can map multiple TFS branches to git branches. Each TFS -branch is tracked as a separate "remote", and several config values -are stored for each branch. - -Each git-tfs remote is assigned an ID. All of a remote's config keys -are prefixed with `tfs-remote..` So, for example, the full `url` -key for the remote `default` is `tfs-remote.default.url`. - -* `url` - is the URL of the TFS project collection. -* `legacy-urls` - is a list, comma-separated, of previous URLs of the TFS project - collection. For example, if you started your git-tfs clone from - a 2005 or 2008 TFS server ('http://tfs:8080/tfs'), and the server - migrated to 2010 or later, moving your project into a project - collection ('http://tfs:8080/tfs/DefaultCollection'), then the - `url` for your git-tfs remote should be the current url, and - `legacy-urls` would be the old url. -* `repository` - is the TFS repository path that was cloned to the root of your - git-tfs project. Typically this is a TFS project path - (`$/MyProject`), but it can be a subdirectory (`$/MyProject/Dir`) - or a branch (`$/MyProject/trunk`). -* `username` and `password` - are your TFS credentials. Normally, if you connect to a TFS - server on your local Windows domain, you won't need to provide - these values, because git-tfs defaults to using integrated - authentication. -* `ignore-paths` - is a regular expression of TFS paths to ignore when fetching. -* `autotag` - can be set to `true` to make git-tfs create a tag for each - TFS commit. This is disabled by default, because creating - a lot of tags will slow down your git operations. +# Git-tfs config values + +Git-tfs uses git's configuration system to track most of the important +information about repositories. + +## Repository-wide configuration + +By default, git-tfs sets these configuration values for the repository +during `git tfs init`. + +* `core.ignorecase` is set to `true`, in an attempt to deal with + casing issues. +* `core.autocrlf` is set to `false`. This will make git preserve all + characters (including CR and LF) in all files. The reason for doing + this is to make the result of `git tfs clone` as nearly identical, + byte-wise, as possible, to the version in TFS. + +## Per-TFS remote + +Git-tfs can map multiple TFS branches to git branches. Each TFS +branch is tracked as a separate "remote", and several config values +are stored for each branch. + +Each git-tfs remote is assigned an ID. All of a remote's config keys +are prefixed with `tfs-remote..` So, for example, the full `url` +key for the remote `default` is `tfs-remote.default.url`. + +* `url` + is the URL of the TFS project collection. +* `legacy-urls` + is a list, comma-separated, of previous URLs of the TFS project + collection. For example, if you started your git-tfs clone from + a 2005 or 2008 TFS server ('http://tfs:8080/tfs'), and the server + migrated to 2010 or later, moving your project into a project + collection ('http://tfs:8080/tfs/DefaultCollection'), then the + `url` for your git-tfs remote should be the current url, and + `legacy-urls` would be the old url. +* `repository` + is the TFS repository path that was cloned to the root of your + git-tfs project. Typically this is a TFS project path + (`$/MyProject`), but it can be a subdirectory (`$/MyProject/Dir`) + or a branch (`$/MyProject/trunk`). +* `username` and `password` + are your TFS credentials. Normally, if you connect to a TFS + server on your local Windows domain, you won't need to provide + these values, because git-tfs defaults to using integrated + authentication. +* `ignore-paths` + is a regular expression of TFS paths to ignore when fetching. +* `autotag` + can be set to `true` to make git-tfs create a tag for each + TFS commit. This is disabled by default, because creating + a lot of tags will slow down your git operations.