Commit Graph

52 Commits

Author SHA1 Message Date
Evgeny Pashkin 915b137975 Apply fix for Vs2008
416543 Fix: git-tfs tries to authenticate against all TFS instances in the branch no matter how old they were in use and if they needed at all.
2013-05-07 10:40:40 +04:00
Jonas Boesch 86bc1a4b77 Fixed code that failed test WorkspaceTests.Policy_failed_and_Force_with_an_OverrideReason.
- Updated test calls.
- Removed duplicate versions of Checkin and EvaluateCheckin without author.
2013-03-26 15:59:48 +01:00
Jonas Boesch 43f8b6a475 Added author parameter to Checkin method.
- Added IWorkspace.Checkin overload that takes an author parameter
- Implemented the method in the VSx-Wrappers.
2013-03-26 13:56:49 +01:00
ivan.danilov-econ 690ccef82e Normalized line endings to be LF in repository (line ending in the working copy managed by core.autocrlf option) 2013-03-21 14:35:22 +02:00
Daniel Schilling 0732786611 Moved init-branch VS 2008 specific behavior down to common base class. In the event of FeatureNotSupported exception, fall back to 2008 behavior. 2013-02-18 10:06:07 -05:00
Philippe Miossec da5a6201a5 Creation of the command "init-branch" to manage the cloning of a TFS branch (or all) from a TFS Server (2010, 2012 and 2008 partly)
Compiled for TFS Server 2008, 2010, 2012 and tested with TFS Server 2010, 2012

!! This command need that the clone of the TFS repository was made from the trunk (and not on the whole repository) and with history (not a quick-clone).

Usage for TFS 2010 and 2012 :
-------------------------------
* to clone one branch
git tfs init-branch $/Repository/path <git-branch-name-wished>
ex :
git tfs init-branch $/Repository/ProjectBranch
git tfs init-branch $/Repository/ProjectBranch myNewBranch

* to clone all branches
git tfs init-branch --all

Usage for TFS 2008 :
---------------------
* to clone one branch
git tfs init-branch--parent-branch=$/Repository/ProjectParentBranch $/Repository/path <git-branch-name-wished>

ex :
git tfs init-branch --parent-branch=$/Repository/ProjectParentBranch $/Repository/ProjectBranch
git tfs init-branch --parent-branch=$/Repository/ProjectParentBranch $/Repository/ProjectBranch myNewBranch
2012-11-19 22:03:42 +01:00
Matt Burke f38e84db76 Move TfsApiBridge to the core project.
This will let me drop one of the test projects without dropping any tests.
2012-08-31 11:18:50 -04:00
Matt Burke 63c95d4a2e Add xunit with nuget. 2012-08-29 16:51:16 -04:00
Matt Burke 71dfe64693 Use TemporaryFile for downloaded files. 2012-05-21 10:53:22 -04:00
Sean M. Collins 0dd114f52b Replace streams with path to temp files 2012-05-16 15:32:08 -04:00
Vadim Skipin 9cf08450c6 Add support for OverrideGatedCheckIn 2012-04-04 17:24:09 +04:00
Sean M. Collins 418afd1d30 Create VS11-only configuration 2012-03-04 14:50:09 -05:00
Mario Pareja e126854b1a Fixes #99: Load temporary file stream after file has been downloaded by TFS. 2011-10-31 11:00:56 -04:00
Matt Burke 782912e959 Revert "Closes #99: Fixed VS2008 support."
This reverts commit 986af98131.
2011-10-31 10:23:21 -04:00
Matt Burke 7711975dce Revert "tabs to spaces"
This reverts commit 0e34072818.
2011-10-31 10:23:10 -04:00
Matt Burke 0e34072818 tabs to spaces 2011-10-31 09:54:48 -04:00
Mario Pareja 986af98131 Closes #99: Fixed VS2008 support.
Downloading files from TFS was failing because the TFS Item.DownloadFile(filename) method was trying to access the file that was already opened by TemporaryFileStream. There is no need for TemporaryFileStream since Item.DownloadFile() returns a stream anyway.
2011-10-27 10:55:33 -04:00
ivan-danilov fdd83dd730 Restored compatibility with VS2008 2011-08-10 14:43:17 +03:00
Matt Burke f55ed98799 Use default credentials if none are specified. [#33] 2011-07-15 13:20:29 -04:00
Matt Burke 50a7bfa2f0 Fix line endings. 2011-07-14 00:03:10 -04:00
ivan-danilov a5f824cd4f Added support for domain authentication on TFS side 2011-07-13 22:26:13 +03:00
ivan-danilov 53aa53e694 Authentication attempts are made several times during config parsing (UpdateServer() calls). Fixed. 2011-07-13 22:24:28 +03:00
Matt Burke 94530325f1 Say where TemporaryFile is. 2011-05-20 09:36:07 -04:00
Matt Burke 92ac031983 Had the DownloadFile implementations reversed between 2008 and 2010. 2011-05-20 09:29:39 -04:00
Matt Burke f86f707773 Add namespace. 2011-05-20 09:21:28 -04:00
Matt Burke 9e74bd9cbe VS 2008 doesn't have the DownloadFile overload that returns a Stream. 2011-05-19 22:34:36 -04:00
Matt Burke d4d0cf1fbe Trying out an abstract class for the shared parts of the Tfs plugin. 2011-01-28 15:02:30 -05:00
Matt Burke c96eca911b All newlines are unix (in the repo). 2011-01-27 16:40:32 -05:00
Matt Burke 7e068fad66 Made merge-back the behavior when checking in HEAD. Added merge-back functionality to checkintool. 2011-01-27 15:43:33 -05:00
Matt Burke ff77e67cf7 Short-circuit checkintool if the checkin dialog isn't available. 2011-01-27 14:52:53 -05:00
Matt Burke 1985919692 Elminate use of ObjectFactory. 2011-01-26 16:19:09 -05:00
Matt Burke 0573325c9b Fix build. 2011-01-26 13:43:37 -05:00
Nathan Roe 886500ef17 Fixed solution build issues 2010-12-16 06:09:55 -05:00
Nathan Roe 16179cb3dc Added support for entering work items associations and checkin comment
Conflicts:

	GitTfs.Vs2010/TfsHelper.Vs2010.cs
	GitTfs/Core/GitTfsRemote.cs
	GitTfs/Core/TfsWorkspace.cs
2010-12-14 22:24:17 -05:00
Nathan Roe 6455902563 Merge branch 'master' of http://github.com/spraints/git-tfs
Conflicts:
	GitTfs.sln
	GitTfs/Core/GitTfsRemote.cs
	GitTfs/Core/IGitTfsRemote.cs
	GitTfs/Core/TfsWorkspace.cs
2010-12-14 22:14:11 -05:00
Nathan Roe 57a112e368 Upgraded to VS2010 2010-12-01 22:12:39 -05:00
Matt Burke e0282344df Revert "Started adding an interactive shelve option, then realized that DialogShelve is internal."
This reverts commit 7f0549d51d.
2010-12-01 14:33:50 -05:00
Matt Burke 7f0549d51d Started adding an interactive shelve option, then realized that DialogShelve is internal. 2010-12-01 14:33:38 -05:00
Matt Burke b68bcdbc9a Extracted version and common assembly attributes. 2010-10-05 15:23:10 -04:00
Olivier Dagenais 9afc93598a Fixed post-build events for when source code is in a folder which contains spaces in the name. 2010-09-29 01:18:48 +08:00
Matt Burke d4b86d60a1 Use UICredentialsProvider for all TFS connections.
(The client lib will only use it as a fallback.)

Removed the useless username. It seems like there are other ways that the
user/pass can be gotten from the user and/or stored.

Also cleaned up some method access specs.
2010-07-14 14:55:24 -04:00
Matt Burke 95d98da890 Commonized TF helper code, where I could. 2010-06-22 12:24:03 -04:00
Matt Burke b26c7ab239 Set version number to 0.9.1. 2010-06-22 12:23:55 -04:00
Matt Burke 555dca1e32 AutoCRLF'ed. 2010-06-22 12:21:19 -04:00
Matt Burke 60ef098ab4 Finished quick-clone. 2010-06-21 13:21:08 -04:00
Matt Burke 5622423ffb Sped up the quick-clone. 2010-06-21 13:21:07 -04:00
Matt Burke 283291e631 Got quick-clone to list tfs's files. 2010-06-21 13:21:04 -04:00
Matt Burke 0cd569df60 Fixed namespaces. 2010-06-21 13:20:38 -04:00
Matt Burke 0a3f7cf0d6 Set specific version flag for TFS assemblies. 2010-06-17 18:26:01 -04:00
Matt Burke 63a078fabe Increased the debuggability of the TFS plugin loader. 2010-05-24 14:53:37 -04:00