Commit Graph

87 Commits

Author SHA1 Message Date
Iristyle 00a2bb6514 bugfix - when a TFS user is record in the logs but is no longer a registered TFS user, then GetIdentity returns null 2011-01-25 10:07:52 -05:00
Matt Burke 508a346252 Make the TFS changeset a merge commit in git-tfs. 2010-12-14 13:25:05 -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 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 05f264f4e8 Specify explicit TFS client library version. 2010-12-01 13:57:25 -05:00
Matt Burke f4ab1be544 Shelve now looks for a pre-existing shelveset. 2010-12-01 13:53:17 -05:00
Matt Burke 0b0042e96a Show the rename score on shelve. 2010-12-01 09:22:21 -05:00
Nathan Roe 82fc3aa8a8 Added upgrade fix 2010-11-29 23:09:21 +08:00
Matt Burke 0203785d62 Use a regex to parse diff-tree output. 2010-10-13 10:02:18 -04:00
Matt Burke bbac62bb43 Use IContainer instead of ObjectFactory. 2010-10-13 08:44:58 -04: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
Richard Banks a1b9a63dc8 Fixed a small issue with case sensitivity in the tfs source folder path when cloning
Signed-off-by: Matt Burke <maburke@sep.com>
2010-10-13 08:08:22 -04:00
Matt Burke 6e7b9a059d crlf 2010-10-05 15:23:36 -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 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 110ac34496 More autocrlfing. 2010-07-14 14:54:41 -04:00
Matt Burke 60ef098ab4 Finished quick-clone. 2010-06-21 13:21:08 -04:00
Matt Burke 2d94b476a0 Improved 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 2143eae934 Upgraded git-tfs to GitSharp 0.3. 2010-06-21 13:20:44 -04:00
Matt Burke 63a078fabe Increased the debuggability of the TFS plugin loader. 2010-05-24 14:53:37 -04:00
Matt Burke 3ca06246a1 Moved all TFS usage to a separate assembly. 2010-04-28 10:35:08 -04:00
Matt Burke 75e0efd1d3 Made TFS interfaces match their original types a little better. 2010-04-20 18:12:39 -04:00
Matt Burke 10f82fb93d Got all of the TF dll references isolated to the TfsInterop folder. 2010-04-20 11:51:58 -04:00
Matt Burke a53688f1f3 Moved ITfsIdentity/TfsIdentity into the TfsInterop namespace. 2010-04-20 10:40:10 -04:00
Matt Burke 7ba82f98b3 Started extracting TFS client dependencies in order to make them less dependent. 2010-04-19 15:15:45 -04:00
Matt Burke cf1432e35e Handle null tfs identities. 2010-03-08 16:11:06 -05:00
Matt Burke fbcb542639 Removed an extra call. 2010-03-05 17:58:46 -05:00
Matt Burke 97e6477a32 Added the ability to link work items to TFS checkins. 2010-03-05 17:57:38 -05:00
Matt Burke d79ca7bc72 Don't clobber shelvesets, unless the user asks for it. 2010-03-05 17:20:19 -05:00
Matt Burke 68457d3811 Accept comments for shelvesets. 2010-03-05 17:16:25 -05:00
Jon Fuller 300047363b fix exception thrown from Workspace when shelving if no items in shelveset 2010-02-03 16:58:47 -05:00
Matt Burke 0c4acfc761 Changed to use GitSharp for all file mode stuff. 2010-01-19 11:19:48 -05:00
Matt Burke 1c35654f36 Added a IsGitLink helper. 2010-01-19 09:20:14 -05:00
Matt Burke 8ab6b4d028 Sped up shelve by getting only files that need to change.
Skip git submodules (mode = 160000).
2010-01-19 08:54:46 -05:00
Matt Burke f44bac9231 Fixed the GC countdown, and lowered its threshold to 200 commits. 2010-01-04 16:18:12 -05:00
Matt Burke 0f3bf6c271 Refactored to one GitSharp repository instance. 2009-12-23 17:24:40 -05:00
Matt Burke 15139b8d55 Implemented HashAndInsertObject with GitSharp. 2009-12-23 17:13:02 -05:00
Matt Burke ca46a01952 Fixed a problem with shelving.
The problem was that repeated uses of the shelve command failed.
This was happening because the first invocation would leave all of
the files in the working directory. Subsequent invocations would
make TFS try to store files there, fail, and think that it didn't
have local copies of anything, so it wouldn't check the files out.

The problem was fixed by telling TFS that it really should get the
latest source files.

I also updated the readme and some other things to indicate that
the shelve command works now.
2009-12-01 15:29:01 -05:00
Matt Burke 6a352f9c08 Fixed some problems with the ignore-regex. 2009-10-26 12:25:51 -04:00
Matt Burke 9dc72210fd Improved debug/warning logging. 2009-09-08 14:31:13 -04:00
Matt Burke 0bc16f555e Added a basic shelve implementation. 2009-09-08 14:18:02 -04:00
Matt Burke 6b00be05de Made a skeleton implementation of the Shelve command, and made the Shelve command more robust (i.e. handle multiple TFS parents). 2009-09-03 18:14:58 -04:00
Matt Burke 4b793b157f Implemented the shelve command (but not the actual shelving). Shuffled some other things around. 2009-09-03 14:26:18 -04:00
Matt Burke 16ce40f9c1 Fixed a problem where, mysteriously, the DownloadFile method changed its signature on me. 2009-08-17 18:29:16 -04:00
Matt Burke 88fcfcc2db Improved debug output. Added a todo. 2009-08-17 18:28:34 -04:00
Matt Burke a26dc95530 Added some timing information that I might use someday for profiling. 2009-08-11 11:08:18 -04:00