Commit Graph

41 Commits

Author SHA1 Message Date
Philippe Miossec 1b42dc93c1 Being able to clone TFS path "$/" 2014-10-27 00:58:52 +01:00
Philippe Miossec 0225dd5ea2 Add checkout command
git tfs checkout changesetId [-b=branch_name]
ex: git-tfs checkout 2365
      git-tfs checkout 2365 -b=bugfix_2365

Solve #563
2014-07-10 14:29:58 +02:00
Arkady Shapkin 6b6dcde978 branch init support initializing by specifying git branch or git remote 2014-07-05 13:50:23 +02:00
Philippe Miossec 4a62b6b816 Move InitBranch() in the GitTfsRemote (to be able to init one from there!) 2014-07-05 13:47:49 +02:00
Arkady Shapkin 402e65e842 Support resume interrupted clone 2014-03-13 16:51:24 +04:00
Arkadiy Shapkin b90b8ca53f Removed unused using directives 2014-02-06 15:35:03 +04:00
Philippe Miossec 2c16a55907 Add an option to set a workspace when cloning or init a repository 2013-10-17 23:06:31 +02:00
Matt Burke ab13eb2f3b Merge remote-tracking branch 'origin/master' into pr/378
Conflicts:
	GitTfs/Commands/InitOptions.cs
2013-09-05 16:44:56 -04:00
Philippe Miossec c1b461ec03 corrections.... 2013-06-04 21:14:23 +02:00
Philippe Miossec 7e4db38057 Manage clone and init in a bare repository 2013-06-04 21:13:14 +02:00
Chris Wundram 5c1fdf5f1d Fixed --autocrlf option on init so that it will set the autocrlf option
in the config.
Added --ignore case option to set ignorecase config setting.

These changes allow these settings to be controled when creating new repo
with git tfs init

Fixed unit tests to work with new CreateTfsRemote signature
2013-05-27 07:52:01 -05:00
Matt Burke d062991eff Merge branch 'master' into refactor-to-functional-core
Conflicts:
	GitTfs/Commands/Init.cs
	GitTfs/Core/GitRepository.cs
	GitTfs/Core/GitTfsRemote.cs
	GitTfsTest/Integration/CloneTests.cs
	GitTfsTest/Integration/IntegrationHelper.cs
2013-01-09 15:39:59 -05:00
Philippe Miossec a2e3184c21 Remove call to git command to set config (use libgit2sharp instead) 2013-01-06 23:30:39 +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
Pat Thoyts 7cab876287 Added option to set core.autocrlf for init and clone.
This implements the suggestion in issue #220 and leaves the default as
false but permits true or auto but not any other values.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2012-11-07 16:18:05 +00:00
Matt Burke 6dd896eecd Unit tests for the configuration for a new tfs remote. 2012-10-16 13:53:13 -04:00
Matt Burke bbd8c742ab Convert the rest to NDesk.Options. 2012-02-01 07:27:49 -05:00
Matt Burke 3395468894 Convert Init to NDesk.Options. 2012-01-31 07:58:42 -05:00
Matt Burke f0e0c28486 Use NDeskOptions for RemoteOptions. 2012-01-28 13:37:54 -05:00
Matt Burke 157676c473 Rough-in NDesk.Options. 2012-01-28 12:04:36 -05:00
Adam Rofer 1fe532edfa Fixes #104: Case sensitivity was off by default 2011-12-06 19:02:13 -08: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 1d26771f14 Always make a repository object during init. [#60] 2011-07-06 09:14:38 -04:00
Matt Burke aef3b3e12d Got bootstrap to work. 2011-02-23 10:06:21 -05:00
Matt Burke 524559f6b4 Provide a nicer error message for bad TFS paths. 2011-02-11 16:03:32 -05:00
Matt Burke 67908e912f Resolved build warnings. 2011-01-27 16:30:03 -05:00
Matt Burke ba28720fde Use new GitTfsCommandRunner in all commands. 2011-01-26 17:10:35 -05:00
Matt Burke 1985919692 Elminate use of ObjectFactory. 2011-01-26 16:19:09 -05: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 826f822a50 Set core.autocrlf during init. 2010-01-07 12:25:22 -05:00
Matt Burke 29c58c0ecf Refactored calls to show help so that it is easier for commands to show help for themselves. 2009-09-03 10:01:40 -04:00
Matt Burke 4fd44ed6ef Refactored most methods with high cyclomatic complexity (6+). 2009-07-31 16:43:25 -04:00
Matt Burke 0bfcb72a35 Got the last two commits to compile. 2009-07-06 09:58:07 -04:00
Matt Burke 43f4207cc7 Started implementing fetch. 2009-07-02 16:37:30 -04:00
Matt Burke adaa3c2559 Kept working on basic git command invocation in order to get git tfs init to work. 2009-06-30 17:37:23 -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 5e0222481a Threw a bunch of stuff at the wall. 2009-06-29 09:09:43 -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 a7199d599d Added options to 'init', and picked up a couple of files that I missed on the last checkin. 2009-06-26 17:29:40 -04:00
Matt Burke 36b89740f7 Got structuremap and an opt parser wired in. Started TDD! 2009-06-26 17:01:01 -04:00