Commit Graph

46 Commits

Author SHA1 Message Date
Matt Burke b3c83c8f55 Don't convert line endings in commit messages.
* Update to include libgit2/libgit2sharp#611
* Revert 4eaabce1ae
* Revise release notes for #534
2014-02-12 06:46:49 -05:00
Arkadiy Shapkin b90b8ca53f Removed unused using directives 2014-02-06 15:35:03 +04:00
Matt Burke 4eaabce1ae Update commit shas. 2014-02-05 13:30:26 -05:00
Matt Burke bcac478525 Ignore line endings in commit messages. 2014-02-05 13:11:00 -05:00
Matt Burke 23a817feeb Extract the tree & commit assertions. 2014-02-05 09:16:44 -05:00
Matt Burke afa5bce3b9 Make sure the tree is right, too. 2014-02-05 07:39:29 -05:00
Matt Burke 72480e7154 Add an assertion on commit message.
This is what's likely to change while I'm working on this branch. This
is going to be easier to debug than a commit sha that changes.
2014-01-17 18:01:28 -05:00
Matt Burke 32cff0cffc Merge pull request #521 from kgybels/fix_warnings
Fix simple compiler warnings
2014-01-15 16:49:18 -05:00
Matt Burke 345c726b92 Test change sorting. 2014-01-14 15:39:09 -05:00
Matt Burke b8dca21083 Also rename a file from not ignored to not ignored. 2014-01-08 18:06:16 -05:00
Matt Burke 3283cfc3e9 Add a test that shows a problem with fetching + ignore + rename. 2014-01-08 18:02:13 -05:00
Matt Burke 787a3dd2db 🆒 with commits that have only ignored content. 2014-01-08 17:14:18 -05:00
Matt Burke d8f05cd463 Add a test for ignore-regex. 2014-01-08 16:49:10 -05:00
Kim Gybels bcd282c399 Fix simple compiler warnings 2014-01-03 17:09:28 +01:00
Philippe Miossec 83b78272d1 Merge branch 'master' into fetch_merge_when_no_commit
Conflicts:
	GitTfs/Commands/InitBranch.cs
2013-09-07 21:08:06 +02:00
Philippe Miossec 1265fc02a0 GitTfsTest : Correct accordingly to the new way to setup a git repository 2013-07-28 16:36:46 +02:00
Philippe Miossec 25a9b6c245 Rewrite UnitTest to be more understandable 2013-07-22 00:39:35 +02:00
Philippe Miossec 3eccf11e80 Unit Test for cloning repo with merge changeset 2013-07-02 10:39:27 +02:00
Matt Burke 3b7b07896a Update libgit2sharp.
I'm not all that pleased by the interface change to Dump, but
it works and is simple.

This should close #300.
2013-01-31 19:33:22 -05:00
Matt Burke b4106017f8 Use an explicit committer, too. 2013-01-10 09:17:43 -05:00
Matt Burke 5323ffa6d1 Use an explicit author for test commits, so that less config is required / depended on. 2013-01-10 09:11:21 -05:00
Matt Burke bee409ed42 Fallout from those merge conflicts. 2013-01-09 16:58:05 -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
Matt Burke 42e3369675 Fix things broken by the merge. 2013-01-09 15:25:27 -05:00
Matt Burke 3f8a9e280c Merge branch 'master' into test-changes
Conflicts:
	GitTfsTest/Integration/IntegrationHelper.cs
2013-01-09 15:24:29 -05:00
Matt Burke ed016a21d8 Run integration tests in-process.
Hopefully this doesn't mess too many things up.
2013-01-04 16:52:01 -05:00
Matt Burke d704a30507 Use libgit2sharp for rev-parse. 2013-01-04 16:43:41 -05:00
Daniel Lee 4784e99fde Add Fetch/Pull tests
Created tests for comparing the tfs url, legacy urls and
the repository path with mixed case when calling git tfs fetch or
git tfs pull. Used libgit2sharp to count the commits before and after.
Added support for running commands from the project directory (git
tfs clone is called from outside the project directory).
2013-01-03 00:49:58 +01:00
Matt Burke 3fc13957dd Fix an off-by-one.
(Thanks, @daniellee! https://groups.google.com/forum/#!msg/git-tfs-dev/kiRE5FB5RKI/xh_sxkH-2H8J)
2012-12-30 08:11:06 -05:00
Kim Gybels f3325488fa Merge branch 'master' into unicode
Conflicts:
	GitTfsTest/Core/GitChangeInfoTests.cs
	GitTfsTest/Integration/CloneTests.cs
	GitTfsTest/Integration/IntegrationHelper.cs

Conflicts were because extra unit tests were added and existing unit
tests were changed in the unicode branch, and this was done before
the move to xUnit.
2012-12-09 18:29:24 +01:00
Matt Burke ea752c6209 Add tests for bootstrap. 2012-10-16 17:15:39 -04:00
Matt Burke 6dd896eecd Unit tests for the configuration for a new tfs remote. 2012-10-16 13:53:13 -04:00
Matt Burke 28a199a382 Fix/skip tests on unix/mac. 2012-09-13 09:02:19 -04:00
Matt Burke 561033f841 Convert another test, following rebase. 2012-08-29 16:59:30 -04:00
Matt Burke 3b6dd441c3 Use xunit. 2012-08-29 16:52:32 -04:00
Eldhuset, Åsmund aab5d48426 Fixing CloneTests.CloneWithtMixedUpCase().
This test came very close to detecting the bug in #174. However, the bug only manifests itself when the difference in casing occurs deeper than the folders that are the children of the repo folder (so "$/MyProject/Folder" and "$/MyProject/folder" worked, but "$/MyProject/Foo/Bar" and "$/MyProject/Foo/bar" didn't work). The fixed test passes when 3a1d996aad is applied and fails without it.
Also, the line endings have been normalized to LF, which was the dominant line ending in the file (but seems to be contrary to most other files in the repo).
2012-08-17 13:03:53 +02:00
Kim Gybels f71672b4e8 Test: verify correct commit message after clone
Verify that the commit message is stored correctly in the
CloneProjectWithInternationalCharactersInCommitMessages test.
2012-08-12 20:04:23 +02:00
Kim Gybels a7810fb6e5 Fix line endings
Somehow the previous merge commit added incorrect line endings.
2012-08-12 20:02:14 +02:00
Kim Gybels 19414fba0f Unit test fix: run git instead of git.cmd
Recent Git version replaced the git.cmd script with an exe wrapper.
Running git works for both git.cmd and git.exe.
2012-08-12 19:35:52 +02:00
Sean M. Collins 682d683802 Update refs for unit tests 2012-08-12 00:19:51 -04:00
Sean M. Collins 7ac25cbf57 Use the Path variable to locate git.cmd
Since we've gone through the trouble of adding it to the startInfo object.
2012-08-11 22:54:45 -04:00
Matt Burke aba2485463 Merge #200
Conflicts:
	GitTfsTest/Integration/CloneTests.cs
2012-08-11 21:05:06 -04:00
Eldhuset, Åsmund e79056af25 Adding tests for the international character support. 2012-08-10 16:45:11 +02:00
Eldhuset, Åsmund ca490a20c2 Making CloneTests pass on computers in different time zones. 2012-08-10 16:23:36 +02:00
Matt Burke 3ff7e7af42 Add a test that demonstrates mixed-case behavior in TFS during clone. 2012-07-17 11:06:05 -04:00
Matt Burke 30e4b8f872 Created a VsFake-based integration test. 2012-04-25 00:44:26 -04:00