Commit Graph

1662 Commits

Author SHA1 Message Date
Matt Burke 8ebeaddfd4 Convert vtccds to test scripts with https://github.com/git-tfs/git-tfs-test-builder 2015-01-30 13:11:49 -05:00
Matt Burke e17136e524 Use a context object instead of feeding back the fetchresult. 2014-12-27 11:53:22 -05:00
Matt Burke 64ba962e9e less churn: FindMergedRemoteAndFetch. 2014-12-27 11:37:22 -05:00
Matt Burke 7d5bd79d02 Add an extension method overload. 2014-12-27 11:33:03 -05:00
Philippe Miossec f2d713e9f6 Refacto: Store rename data in FetchResult and pass it to the fetch of the next branch! 2014-12-26 19:32:03 +01:00
Philippe Miossec 2fa751931e We should look for renames even if there is a tfs remote (but empty!) 2014-12-26 19:28:07 +01:00
Philippe Miossec aa323f0057 refactoring 2014-12-26 19:28:06 +01:00
Philippe Miossec 73f594485c Manage case where the first changeset of a clone is a rename changeset 2014-12-26 19:28:06 +01:00
Philippe Miossec 23f3da86bc Process changeset when with new branch (instead with old one)
Ignore rename changeset when discovered because
we want to process it as a changeset of the renamed branch.

This way, if changes are made (other than the branch renaming),
there will be fetched in TfsHelperBase.GetChangesets()!

Before that change, there would have been not fetched
because the tfs path was the one of the old branch but
the changes belong to the new renamed branch path!
2014-12-26 19:28:05 +01:00
Philippe Miossec 62147ffc7d Detecting an branch rename changeset 2014-12-26 19:28:04 +01:00
Philippe Miossec 8b50417d49 Some silly people could add changes when renaming a branch 2014-12-26 19:28:03 +01:00
Philippe Miossec ded330357b Merge pull request #703 from pmiossec/clone_subbranch
Being able to clone a sub branches and use of `--with-branches` option
2014-12-26 19:27:37 +01:00
Philippe Miossec 322c55dbb4 Being able to clone sub branches and use of --with-branches option
We are now, not obliged to clone the trunk to use the `--with-branches` option!
That way the sub branch will be cloned (with all the branches merged into it)
 and all its children branches will be initialized after.

There is no more technical reasons that prevent cloning a sub branch...

Solve https://groups.google.com/forum/#!topic/git-tfs-dev/XndbEXRcx1M
2014-12-26 19:25:32 +01:00
Philippe Miossec caecd2ca32 Merge pull request #702 from pmiossec/add_unit_tests
Add Unit tests for IEnumerable<BranchTree>.GetAllChildren()
2014-12-24 18:58:49 +01:00
Philippe Miossec a89f16ab70 Add Unit tests for IEnumerable<BranchTree>.GetAllChildren() 2014-12-24 18:49:59 +01:00
Philippe Miossec 0597b21fdf Merge pull request #701 from sergkr/doc-fix
Fix link for running the unit tests
2014-12-24 16:25:40 +01:00
Sergey Krilov d95a4a6e65 Fix link for running the unit tests 2014-12-24 10:20:30 -05:00
Philippe Miossec a64effae96 doc: improvements 2014-12-23 16:10:29 +01:00
Philippe Miossec 7a069dfac3 Merge pull request #696 from Kantis/improved-readme
Missing command in readme
2014-12-18 00:21:36 +01:00
Emil Kantis 92dc18c72f Added a command that needs to be run to get the LibGit2Sharp repository properly 2014-12-18 00:00:41 +01:00
Philippe Miossec 3d9ba728a0 Merge pull request #681 from pmiossec/update_libgit2sharp
Update libgit2sharp to v0.20
2014-12-13 12:45:44 +01:00
Philippe Miossec 724c8e9d15 Update libgit2sharp to v0.20 2014-12-13 12:40:03 +01:00
Matt Burke 7bd69cbbb3 Merge pull request #693 from idealist1508/fix_tfs_clone_throws_Exception
fix for #645 - ItemNotFoundException
2014-12-11 18:11:31 -05:00
idealist1508 45621291c7 Make Test happy 2014-12-10 00:19:36 +01:00
Matt Burke 9d01a022fa Add test for #645. 2014-12-09 16:07:04 +01:00
Philippe Miossec 8b4f34c616 Prevent throwing of an Exception when reading missing git config key 2014-12-07 19:02:03 +01:00
Philippe Miossec 7c51f46272 Merge branch 'pr/684' 2014-12-01 22:25:04 +01:00
Philippe Miossec 733eb3af5a Branch doc: some other adjustments 2014-12-01 22:24:07 +01:00
Philippe Miossec c3419e3eb6 [doc]Keep changeset id 2014-11-28 17:36:41 +01:00
Matt Burke 117ced2b06 Updates to docs for branch command
Made a few readability, elaboration, typo and grammar fixes to the
branch command documentation
2014-11-25 20:38:34 -06:00
Philippe Miossec ece5428c05 Merge pull request #683 from honestegg/issue#682
Add support for ExtendedMerge of type Undelete
2014-11-21 18:54:44 +01:00
Brian Beard c2393ad975 Add support for ExtendedMerge of type Undelete 2014-11-21 10:59:19 -06:00
Philippe Miossec 1e5c9dd694 Merge pull request #678 from pmiossec/fix-missing-merge-parent
Handle error case  where no merge info is returned by QueryMerges
2014-11-21 09:54:39 +01:00
Philippe Miossec 5fe4d7594d doc: make the 'tf' command works everywhere & everytime
by specifying the collection url.
2014-11-17 23:22:53 +01:00
Dave Hanna c6eadbb477 Handle error case where no merge info is returned by QueryMerges 2014-11-16 18:13:21 +01:00
Philippe Miossec 62d141e2bc Merge pull request #675 from pmiossec/improve_init_when_renames
Prevent fetching already fetch changesets from already initialized branches
2014-11-16 18:12:35 +01:00
Philippe Miossec 11e24c5456 Merge pull request #671 from pmiossec/fix_crash_list_empty
Fix crash when parent tfs is not found
2014-11-16 17:25:53 +01:00
Philippe Miossec 26d131ad52 Fix crash when parent tfs is not found
because the branch is a pure git branch
2014-11-03 13:28:28 +01:00
Philippe Miossec 2aa1a77b6b Prevent fetching already fetch changesets from already initialized branches
by removing branches when the changeset of child branch
is alredy found in the repository
2014-11-02 20:26:58 +01:00
Philippe Miossec d76181de7d Merge pull request #662 from pmiossec/clone_tfs_root
Being able to clone TFS path "$/"
2014-10-27 22:44:57 +01:00
Philippe Miossec 19a27f5c48 Update release note 2014-10-27 22:42:59 +01:00
Philippe Miossec a94141b10c Merge pull request #670 from pmiossec/fix_doc
Improve doc
2014-10-27 22:14:48 +01:00
Philippe Miossec 9cdea30ffc Merge pull request #664 from pmiossec/improve_reliability_fetch
Retry after getting a file from TFS if the status is not satisfying
2014-10-27 22:08:13 +01:00
Matt Burke 591af4b864 Encapsulate NumFailures != 0. 2014-10-27 21:36:03 +01:00
Philippe Miossec 4de1afebf9 Retry after getting a file from TFS if the status is not satisfying
Should improve reliability.
Hope it will fix #444
2014-10-27 21:36:02 +01:00
Philippe Miossec a6ab755f81 Prevent using 'branch' command when cloned whole repository 2014-10-27 00:58:52 +01:00
Philippe Miossec 1b42dc93c1 Being able to clone TFS path "$/" 2014-10-27 00:58:52 +01:00
Philippe Miossec b17ee84c0e Add references to ProGit v2 book 2014-10-26 23:46:17 +01:00
Philippe Miossec d3722592d1 A lot of fixes in documentation 2014-10-26 17:19:44 +01:00
Philippe Miossec 54786eab19 Improve doc
fix #669
2014-10-25 14:08:50 +02:00