Improve fetch of branch commit #554

Merged
merged 7 commits into from Mar 10, 2014

Projects

None yet

2 participants

@KindDragon

No description provided.

@spraints spraints commented on the diff Mar 7, 2014
GitTfsTest/Core/ChangeSieveTests.cs
+ {
+ InitialTree.Add("file6.txt", new GitObject() { Commit = "SHA" });
+
+ Changeset.Changes = new[] {
+ FakeChange.Add("$/Project/file1.txt"),
+ FakeChange.Delete("$/Project/file2.txt"),
+ FakeChange.Add("$/Project/file3.txt"),
+ FakeChange.Delete("$/Project/file4.txt"),
+ FakeChange.Rename("$/Project/file5.txt", from: "$/Project/oldfile5.txt"),
+ FakeChange.Branch("$/Project/file6.txt"), // Do not include, because it was there before.
+ FakeChange.Branch("$/Project/file7.txt"), // Include, because it was not there before.
+ FakeChange.BranchAndEdit("$/Project/file8.txt"), // Include, because it's not just branched.
+ };
+ }
+ }
+
@spraints
spraints Mar 7, 2014

Please add a test for the change to GetChangesToFetch().

@KindDragon

Done

@spraints spraints added a commit that referenced this pull request Mar 10, 2014
@spraints spraints Merge #554. 4c1ca9e
@spraints spraints added a commit that referenced this pull request Mar 10, 2014
@spraints spraints Release notes for #554 f5c20a1
@spraints spraints merged commit eccf07f into git-tfs:master Mar 10, 2014

1 check passed

Details default The Travis CI build passed
@KindDragon

Cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment