Commit Graph

53 Commits

Author SHA1 Message Date
Philippe Miossec df159384c5 ParentForm.cs is a Form and should be seen as this 2013-05-25 11:57:18 +02:00
Philippe Miossec 20bac72878 Share ParentForm between Vs2010 and Vs11 projects 2013-05-06 18:37:48 +02:00
Philippe Miossec c7e5f7cf1a Show CheckinTool window in task bar 2013-05-05 17:18:48 +02: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
ivan.danilov-econ 416543cd7a 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.
Our TFS instance recently changed URL and without this change it is required to filter-branch entire repository and change every git-tfs-id line in comments just to make git-tfs stop going to old URL to check. With it one should just keep config section for old branch and change the very last commit's comment (for each TFS branch). Also theoretically should save some time if several TFS instances are used as only specified with -i option is authenticated against.
2013-03-11 15:47:16 +02:00
Matt Burke d473520583 Get VS2008 to build. 2013-01-08 05:27:20 -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 d40904a2d4 Clean up projects, configurations. 2012-08-31 13:45:47 -04: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
Matt Burke 9299d2c69a dos2unix 2012-01-28 11:42:04 -05:00
Lars Andreas Ek 9b058a2758 Improved diagnostics for errors during file download
Will provide trace of ServerItem and ChangesetId
2011-11-23 23:40:12 +01:00
ckramer 97e080986c Replaced implementation of GetAuthenticatedUser with a call to VersionControl.AuthorizedUser. The old version was returning '<Firstname> <Lastname>' which was throwing back an identity error when trying to fetch existing shelfsets 2011-08-17 12:31:31 +03:00
ivan-danilov 740c8fc1af Replaced manual registry scanning with TFS' native way for VS2010 2011-08-07 20:28:48 +03:00
ivan-danilov 052aa92998 #69 done (allow passing tfs instance name rather than URL to clone/quick-clone/init) 2011-08-07 03:16:06 +03:00
Matt Burke f55ed98799 Use default credentials if none are specified. [#33] 2011-07-15 13:20:29 -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
c1nu5 d4b2880155 add username/password for tfs in init and clone 2011-06-23 08:24:02 +02:00
Matt Burke 92ac031983 Had the DownloadFile implementations reversed between 2008 and 2010. 2011-05-20 09:29:39 -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 aef3b3e12d Got bootstrap to work. 2011-02-23 10:06:21 -05:00
Matt Burke 9c0935fac2 Look in wow32 registry too. 2011-02-22 14:01:20 -05: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 05aa802e65 Simplified the 'make a call to another assembly's internals' stuff. 2011-01-27 15:00:38 -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 8b4ac74f18 Revert "Refactored Checkin, CheckinTool, and Shelve to have common base classes"
This reverts commit 58bc6beb8e.
2011-01-26 12:07:03 -05:00
Nathan Roe 58bc6beb8e Refactored Checkin, CheckinTool, and Shelve to have common base classes 2010-12-16 06:03:03 -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 61940de506 Added checkintool comman 2010-12-02 14:27:14 -05:00
Nathan Roe 57a112e368 Upgraded to VS2010 2010-12-01 22:12:39 -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