Commit Graph

32 Commits

Author SHA1 Message Date
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
Matt Burke d473520583 Get VS2008 to build. 2013-01-08 05:27:20 -05:00
Philippe Miossec 38fdab79c5 'git tfs branch' now lists all branches ancestor or descendent to the remote.TfsRepositoryPath 2012-12-31 18:59:34 +01:00
Kim Gybels 26fe4ad269 Download correct files for unshelve
Downloading of files was the responsibility of the items themselves,
but to optimize this, it was changed to requesting entire changesets
at once. However, this optimization broke downloading of shelvesets.

The changeset is now responsible for populating the workspace with the
correct files. This allows for different download strategies for real
changesets and shelvesets.
2012-12-06 00:03:12 +01:00
Matt Burke d108ed0f38 Fix unshelve. 2012-11-30 11:49:34 -05:00
Matt Burke 38f9ca2844 Bulk fetch changeset files. 2012-06-06 16:08:37 -04:00
Matt Burke 3f7e27aa6a DeletionId should be int. 2012-06-06 16:06:52 -04:00
Matt Burke da7f000da1 Speed up quick-clone. 2012-06-06 01:40:31 -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
Collins, Sean aab035de6c Work for #133
Check to see if the file exists prior to attempting
to delete. Fix a regression to #111, that I introduced.
2012-03-07 10:33:46 -05:00
Collins, Sean 1324ba3097 Simplify 2012-03-06 16:12:32 -05:00
Collins, Sean be0cc8ae8e Code to check if path exists prior to calling the Workspace methods
Part of issue #133
2012-03-06 15:29:43 -05:00
Dmirty Krychkov 64c3501f4c Fixed issue #148 2012-02-25 17:02:52 +10:00
ivan-danilov 71aa30d845 Replaced tabs with spaces 2012-02-16 14:46:46 +02:00
Dmirty Krychkov d76f1c99e3 Fixes #111 - target file should be always overwritten while renaming 2012-02-16 22:00:36 +10:00
Matt Burke 9299d2c69a dos2unix 2012-01-28 11:42:04 -05:00
Jimmy Bogard d3531be272 Redirecting committer to reflect owner when they are different. For checkins made by TFS itself. 2011-09-04 23:22:13 +03:00
Matt Burke 478bed1cc0 Remove obsolete overload of IItem#DownloadFile. 2011-05-19 22:36:22 -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
James Dunne cc9e68058e Cleaned up if/endifs. 2011-05-03 16:10:53 -05:00
James Dunne 2524dc2700 Removed need for TemporaryFile in downloading from TFS during quick-clone or clone. GetItems now passes includeDownloadInfo: true. 2011-03-15 12:39:28 -05:00
Matt Burke 1a50042ea4 Allow checkin policy overrides. 2011-02-23 14:14:29 -05:00
Matt Burke c96eca911b All newlines are unix (in the repo). 2011-01-27 16:40:32 -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
Matt Burke 475fa47b84 EXPERIMENTAL checkin support. 2010-12-02 12:59:32 -05:00
Matt Burke 59a15e1200 Optionally evaluate checkin policies on shelve. 2010-12-02 12:38:23 -05:00
Matt Burke 47a013fce9 Made generic TfsApiBridge tests pass. 2010-12-02 10:44:26 -05:00
Richard Banks 4c8b81027f Added support in shelveset for detecting renames
Signed-off-by: Matt Burke <maburke@sep.com>
2010-10-13 08:36:07 -04:00
Olivier Dagenais ef735d8913 Fixed bug exposed by changes in TFS 2010 with renames and ItemId
Explanation of the change is at http://blogs.msdn.com/b/michalma/archive/2009/06/15/version-control-api-changes-in-tfs-2010-part-i.aspx
1 - Added QueryWithHistory() method wrapper.
2 - TfsApiBridge.Wrap(Item) will now return null if the item supplied is null.
3 - TfsChangeset.GetPathBeforeRename() will now call QueryWithHistory() if GetItem() returned null.
4 - Fixed typo in parameter name.
2010-09-29 01:18:48 +08:00
Matt Burke 95d98da890 Commonized TF helper code, where I could. 2010-06-22 12:24:03 -04:00