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
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
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
a89f16ab70
Add Unit tests for IEnumerable<BranchTree>.GetAllChildren()
2014-12-24 18:49:59 +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
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
1b42dc93c1
Being able to clone TFS path "$/"
2014-10-27 00:58:52 +01:00
Philippe Miossec
54786eab19
Improve doc
...
fix #669
2014-10-25 14:08:50 +02:00
Philippe Miossec
9129d0f0d9
Better error management and messages
2014-10-13 23:59:55 +02:00
Philippe Miossec
ae1b60cb4f
Unit tests
2014-10-03 23:44:58 +02:00
Matt Burke
158d16b758
Merge pull request #636 from spraints/ignore-unshelve-errors
...
Add the option to ignore unshelve errors
2014-09-25 10:17:46 -04:00
Matt Burke
ba5add04ab
unshelve --force ignores errors while Geting files.
2014-09-24 10:01:29 -04:00
Philippe Miossec
2a60c57f14
Update libgit2sharp to v0.18.1
2014-08-04 13:45:04 +02:00
Arkady Shapkin
e5b24d6a56
Test ShouldDoNothingBecauseRemoteAlreadyExisting fixed
2014-07-05 13:50:24 +02:00
Arkady Shapkin
e69357280f
InitBranch support fetching parent branch
2014-07-05 13:50:18 +02:00
Arkady Shapkin
74abd9e30b
Check parent branch history only before current branch changeset
2014-07-05 13:50:14 +02:00
Philippe Miossec
6f4d14965b
Add unit test to test auto-init of branches and --ignore-branches option
2014-07-05 13:48:17 +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
Philippe Miossec
74661c4d73
Correct UnitTests
2014-07-05 13:47:47 +02:00
Matt Burke
fc4a02753b
There can be only "Any CPU".
2014-06-16 10:33:04 -04:00
Philippe Miossec
9a70315b79
Merge pull request #603 from pmiossec/Support_branch_with_similar_name
...
Support branch with similar name
2014-06-11 09:46:46 +02:00
Philippe Miossec
841189410a
Manage other strange cases
2014-06-07 14:28:01 +02:00
Cameron Jordan
aea7e12037
Failing tests for changeset id parsing
2014-05-29 17:12:44 -07:00
Philippe Miossec
a1f267da7e
Same thing when using Subtree command
2014-05-26 23:34:10 +02:00
Philippe Miossec
15693f6a7b
Correct case where one repository path is included in another one
...
When we are in a remote that have tfs path $/Project/MyBranch_1
and that we search the path in the git repository of the file $/Project/MyBranch_1.1/file.txt
we must return null (because this file is owned by the other remote $/Project/MyBranch_1.1)
In the past, we return ".1/file.txt" as relative path.
We should also managed well, folder path "$/Project/MyBranch_1.1" compare to "$/Project/MyBranch_1"
2014-05-26 23:34:08 +02:00
Philippe Miossec
c73c333065
Allow Empty commits for unit test
...
because sometime only commit message is
important in our tests
2014-05-18 16:03:12 +02:00
Philippe Miossec
e79a520fa8
Unit test GetLastParentTfsCommits from GitRepository
2014-05-09 22:14:06 +02:00
Matt Burke
cab0fc2995
Merge pull request #586 from pmiossec/detect_rename_changeset
...
Detect rename changeset
2014-04-30 15:59:10 -04:00
Matt Burke
b7344c5612
Merge pull request #561 from pmiossec/auto_bootstrap
...
bootstrap automatically the remote we are working on if needed
2014-04-28 18:17:32 -04:00
Matt Burke
da9c225dbc
Merge pull request #562 from pmiossec/autoselect_remote_by_default
...
Set autoselect remote the default behavior
2014-04-28 18:16:15 -04:00
Matt Burke
2652f997c0
Merge #584
2014-04-28 12:34:15 -04:00
Philippe Miossec
3e1e0bdacc
Adjust Unit tests
2014-04-28 18:29:59 +02:00
Philippe Miossec
c5945cc4a4
Use existing method instead of creating new one
2014-04-27 14:06:11 +02:00
Kim Gybels
29fabab81c
Fix unshelve
...
The optimization to prevent downloading of ignored files broke
unshelving[1]. A shelveset is treated as a changeset by git-tfs, but there
is no changeset version for it, so you can't ask the workspace to get a
shelveset by version, instead the shelveset itself needs to be responsible
for populating the workspace with the correct files[2].
[1] 351ed3d69f
[2] 26fe4ad269
2014-04-22 16:02:50 +02:00
Arkady Shapkin
276a70b4b5
IncludeInFetch support when new file was merged
2014-04-20 21:00:47 +04:00
Philippe Miossec
7a7df65d63
Adapt Shelve unit tests
2014-04-20 18:12:20 +02:00
Philippe Miossec
bc09fa8963
Update Auto-bootstrap unit tests because -I option is no more needed...
2014-04-20 18:12:19 +02:00
Philippe Miossec
a7c6d90f9b
Unit Tests for Auto select remote
2014-04-20 18:12:17 +02:00
Philippe Miossec
bdd7e8057c
Unit test for Autobootsrap when using -I option on a merge commit
...
Extand IntegrationHelper to be able to create a more complexe test case...
2014-04-20 00:10:46 +02:00
Philippe Miossec
cf20ce0ea6
Unit test for Autobootsrap when using -I option on a branch
...
Auto bootstap 'tfs/default' for first remote created
Auto bootstap 'tfs/branch' for second remote created
Extand IntegrationHelper to be able to create a more complexe test case...
2014-04-20 00:10:44 +02:00
Philippe Miossec
873755f510
Unit test for Autobootsrap when using -I option
...
Auto bootstap 'tfs/default' for first remote created
2014-04-20 00:10:42 +02:00
Arkady Shapkin
40ddbea799
Skip fetching merged items without changes from TFS
2014-03-14 13:21:18 +04:00
Matt Burke
99907eb3fd
Also don't fetch anything if it's just going to be deleted and ignored.
2014-03-13 23:42:49 +01:00
Matt Burke
bdfe29ae3f
Ensure that other deleted directories don't affect this project.
2014-03-13 23:42:47 +01:00
Philippe Miossec
07807d4845
Detect a rename changeset (where all the datas are deleted) and prevent it
...
and Add Unit Test in ChangeSieveTests to support branch deletion
2014-03-13 23:37:16 +01:00
Matt Burke
4c1ca9ed1a
Merge #554 .
2014-03-10 08:28:33 -04:00
Matt Burke
55706a06b2
More self-explanatory.
2014-03-10 08:20:50 -04:00