Commit Graph

33 Commits

Author SHA1 Message Date
Philippe Miossec 7e4db38057 Manage clone and init in a bare repository 2013-06-04 21:13:14 +02:00
Matt Burke 60190dd1f1 s/in/to 2013-05-29 09:56:24 -04:00
Philippe Miossec 9cf3c578f8 Add messages to help user if one branch is not displayed 2013-05-25 12:09:10 +02:00
Philippe Miossec 20f2eb6832 clone: verify if tfs path exists 2013-05-25 12:01:38 +02:00
Ricky Pike cea0ad2b1a Fix newline for branch checkout warning 2013-05-01 16:41:01 -05:00
Philippe Miossec 8fc1dcbea0 Correct a crash when no tfs root found #348 2013-04-11 19:07:47 +02:00
Philippe Miossec d7347c8d93 Correct crash when clone the whole repository
Forget to exit after displaying the warning.
Should fix #330
2013-03-25 14:23:25 +01:00
Matt Burke 700c74e1dc Merge master and #287.
Conflicts:
	GitTfs/GitTfs.csproj
2013-01-30 12:03:58 -05:00
Philippe Miossec 537071e04a Remove unnecessary ReadAllTfsRemotes() 2013-01-21 22:50:56 +01:00
Philippe Miossec 7ef9fe888e Add a new list-remote-branches command
... to help find root TFS paths to clone
2013-01-16 18:00:00 +01:00
David Alpert 637569c424 trailing slashes are stripped from incoming TFS repository paths so that exact comparisons match properly. 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
Matt Burke 01176a96b8 Avoid using exceptions for control flow.
Also, this fixes the broken tests.
2012-12-18 17:52:00 -05:00
Philippe Miossec e20238fceb Display informations (info, warning or error) if the clone is not made from a TFS trunk path
... preventing to use `init-branch` later (it's better to warn the earliest possible)
2012-12-18 13:57:23 +01:00
Philippe Miossec 18c521628a add '--with-branches' option to the clone command to clone a whole repository (trunk and branches) 2012-12-07 17:15:05 +01:00
Matt Burke bbd8c742ab Convert the rest to NDesk.Options. 2012-02-01 07:27:49 -05:00
Matt Burke 817df46a0d Convert Clone to NDesk.Options. 2012-01-30 07:40:45 -05:00
Matt Burke 157676c473 Rough-in NDesk.Options. 2012-01-28 12:04:36 -05:00
ivan-danilov 2bfd3575db Added catch for UnauthorizedAccessException also and some tracing 2011-11-23 20:27:00 +02:00
ivan-danilov 23cf1fc858 Made cleanup on failed clone tolerant to errors like 'access denied' which were hiding original problem 2011-11-23 13:59:24 +02:00
ivan-danilov cb5655730a Fixed #94 (everything is cleaned up in case of exception during clone) 2011-11-02 14:18:59 +02: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 524559f6b4 Provide a nicer error message for bad TFS paths. 2011-02-11 16:03:32 -05:00
Matt Burke c96eca911b All newlines are unix (in the repo). 2011-01-27 16:40:32 -05:00
Matt Burke ba28720fde Use new GitTfsCommandRunner in all commands. 2011-01-26 17:10:35 -05:00
Matt Burke 283291e631 Got quick-clone to list tfs's files. 2010-06-21 13:21:04 -04:00
Matt Burke 15601be8d7 Started adding a quick-clone command that doesn't pull in history. 2010-06-21 13:20:42 -04:00
Matt Burke 8419fa8534 Removed a couple of ObjectFactory references. 2010-02-08 15:23:50 -05:00
Robert Uhl 887bd34c92 starting changes to try to fix help messages. 2010-02-04 15:38:47 -05:00
unknown c45fe03d9f Added stubbed out Pull, minor change to Clone. 2010-01-29 17:32:47 -05:00
Matt Burke 02d1043175 Implemented clone as init + fetch + checkout. 2009-07-16 14:41:57 -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