Matt Burke
ea7c82c038
Show timing information in debug output.
2013-06-08 07:48:25 -04:00
Chris Wundram
54807c30f5
Added --nofetch option to init-branch to set up TFS remote for branch
...
without doing a fetch. Usefull to check config file before executing
fetch.
Now fails when --all and --nofetch are used on init-branch at the same time
Added test for case with --all and --nofetch
2013-05-27 08:19:59 -05:00
Matt Burke
bee409ed42
Fallout from those merge conflicts.
2013-01-09 16:58:05 -05:00
Matt Burke
3f8a9e280c
Merge branch 'master' into test-changes
...
Conflicts:
GitTfsTest/Integration/IntegrationHelper.cs
2013-01-09 15:24:29 -05:00
Matt Burke
3911338152
Change IBranch into a simple-ish value object BranchTree.
2013-01-08 06:53:15 -05:00
Matt Burke
28b8e93a91
DateCreated isn't used.
2013-01-08 06:39:00 -05:00
Matt Burke
4a3fe9c864
Handle the "not on a branch" case for init-branch.
2013-01-08 06:34:49 -05:00
Matt Burke
9d7039a396
Separate base TFS interaction from higher-level logic.
2013-01-08 06:27:56 -05:00
Matt Burke
ed016a21d8
Run integration tests in-process.
...
Hopefully this doesn't mess too many things up.
2013-01-04 16:52:01 -05:00
David Alpert
1bcd9b0ea3
improving the error message when InitBranch fails because it needs a clone of the trunk
2013-01-02 00:50:21 -06:00
David Alpert
457770bc1f
fixed the mocked setup of some IBranches to surface an issue with the InitBranch command:
...
the IBranch structure is a node in a tree containing a path and referencing it's children, thus getting only its children never includes the root path, causing the current implementation of InitBranch to always throw an exception.
2013-01-02 00:50:20 -06:00
David Alpert
20bc4b0221
adding the expected error message to an InitBranchTest to verify that it is throwing the expected exception
2013-01-02 00:50:19 -06:00
Philippe Miossec
a2a1916f70
Correct clone message and init-branch using the good branches informations
2013-01-02 00:24:58 +01:00
Philippe Miossec
f75b7ca5be
Remove unallowed chars in labels
...
TFS permit chars that are not allowed in Git tag name (for exemple space)
2012-12-20 14:06:07 +01:00
Philippe Miossec
12617efec0
Save and re-use author file until overwritten
2012-12-04 13:42:09 +01:00
Philippe Miossec
5f4479241b
Use author file to manage author mapping in init-branch command
2012-12-04 13:20:31 +01: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
Pat Thoyts
bb1bfd4dc0
Created unit tests for the --autocrlf option to init and clone.
...
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net >
2012-11-08 10:38:47 +00:00
Matt Burke
3b6dd441c3
Use xunit.
2012-08-29 16:52:32 -04:00
Sean M. Collins
e532c767e5
Implement OptionSet from GitTFSCommand interface
2012-02-13 14:45:02 -05:00
ivan-danilov
ae679a2fc0
Removed unnecessary failing test
2011-08-23 20:03:56 +03:00
ivan-danilov
be4e399c7a
Renamed GetParentTfsCommits -> GetLastParentTfsCommits for clarity
2011-07-08 23:51:43 +03:00
Matt Burke
b18420dc36
dos2unix
2011-06-10 22:11:42 -04:00
Ryan Hansen
e4f7b83844
Changed git-tfs pull command to throw a GitTfsException if there are local changes that have not been committed. This prevents Issue #25 from occurring. Also added an exception recommendation to stash changes and try pulling again. This is also a new unit test to validate this behavior.
2011-06-10 16:33:36 -06:00
Matt Burke
c96eca911b
All newlines are unix (in the repo).
2011-01-27 16:40:32 -05:00
Matt Burke
5adae0d3db
Got rid of DummyRemote.
2011-01-27 14:46:05 -05:00
Matt Burke
d93049affe
Add GitTfsCommandRunner to help make GitTfsCommands' APIs more sane.
2011-01-26 16:54:35 -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
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
Matt Burke
508a346252
Make the TFS changeset a merge commit in git-tfs.
2010-12-14 13:25:05 -05:00
Matt Burke
59a15e1200
Optionally evaluate checkin policies on shelve.
2010-12-02 12:38:23 -05:00
Matt Burke
f4ab1be544
Shelve now looks for a pre-existing shelveset.
2010-12-01 13:53:17 -05:00
Matt Burke
283291e631
Got quick-clone to list tfs's files.
2010-06-21 13:21:04 -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
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
da834b996c
Added a 'shelve' command, and test for invalid arguments (which may have gotten me over the hurdles that were keeping me from doing more TDD).
2009-09-03 11:14:25 -04:00
Matt Burke
72c4dd7ad4
Fixed tests.
2009-07-07 13:20:02 -04:00
Matt Burke
07c99979b2
Ported init (minus the low-level git command invocations).
2009-06-30 14:40:06 -04:00
Matt Burke
6ebeaa7f1d
Ported some more of git-svn.
2009-06-29 18:19:33 -04:00
Matt Burke
3acb7e5ee3
Stubbed Init, with tests. Made an even rougher stub of Fetch.
2009-06-27 20:26:05 -04:00
Matt Burke
36b89740f7
Got structuremap and an opt parser wired in. Started TDD!
2009-06-26 17:01:01 -04:00