Commit Graph

542 Commits

Author SHA1 Message Date
David Alpert a3aef8e1d5 adding more expressive output when overriding policy failures. 2012-09-04 04:23:18 -05:00
David Alpert 16dfc420e8 adding basic tests around how TfsWorkspace handles simple commits and simple policy failures 2012-09-04 04:23:05 -05:00
David Alpert 09a1717e16 adding git-tfs version info to the output of the git-tfs-info command 2012-09-04 04:23:00 -05:00
David Alpert b33895c568 adding an explicit 'version' command 2012-09-04 04:22:54 -05:00
David Alpert 44675e2e3f adding the location of the currently executing git-tfs binaries to the output of 'git tfs -V' 2012-09-04 04:22:50 -05:00
David Alpert 53f10db03f refactoring the code that provides the Git-Tfs version information out of the GitTfs class and into a GitTfsVersionProvider 2012-09-04 04:22:45 -05:00
David Alpert d6c0eab97a adding a basic 'git-tfs-info' command 2012-09-04 04:22:39 -05:00
David Alpert 532fa266ab adding support for a git-tfs-force: special action in git commit messages 2012-09-04 04:22:34 -05:00
David Alpert edd0cd4deb refactoring the Rcheckin command to lean on the GenericCaretaker via a CheckinOptionsHelper when processing special actions in commit messages to associate and resolve work items 2012-09-04 04:22:29 -05:00
David Alpert 3693943235 adding a caretaker 2012-09-04 04:03:38 -05:00
Matt Burke 7675359d79 Enable travis. 2012-09-03 09:28:34 -04:00
Matt Burke 418703f84d Run travis on the main repo. 2012-09-03 09:28:15 -04:00
Matt Burke 79400140a8 More case-sensitivity. 2012-09-03 09:23:37 -04:00
Matt Burke fcfc0580c4 Work on case-sensitive filesystems. 2012-09-03 09:20:09 -04:00
Matt Burke 95282526c1 Travis build status. 2012-09-03 09:16:02 -04:00
Matt Burke d0597f7311 Set up travis build. 2012-09-03 09:11:13 -04:00
Matt Burke bf0bd09ea9 Remove a couple straggling mstest files. 2012-09-01 21:36:29 -04:00
Matt Burke d40904a2d4 Clean up projects, configurations. 2012-08-31 13:45:47 -04:00
Matt Burke f38e84db76 Move TfsApiBridge to the core project.
This will let me drop one of the test projects without dropping any tests.
2012-08-31 11:18:50 -04:00
Matt Burke ff364f825c Merge #216 and #218. 2012-08-30 21:44:19 -04:00
Matt Burke 62a6ab47e5 Merge and update tests in #216
Conflicts:
	GitTfsTest/Util/AuthorsFileUnitTest.cs
2012-08-30 21:42:28 -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
Matt Burke 63c95d4a2e Add xunit with nuget. 2012-08-29 16:51:16 -04:00
Ed F db9044d971 Added ability to comment line in AuthorsFile.
Renamed tests to start with AuthorsFile instead of "Test"
Added tests for international author names.
2012-08-27 20:42:44 -04:00
Sean M. Collins 449f258b12 Merge pull request #210 from rbirkby/CaseInsensitiveAuthors
Case insensitive authors
2012-08-21 11:05:25 -07:00
Sean M. Collins eaf076364f Merge pull request #214 from sc68cal/libgit2sharp_bump
Bump LibGit2Sharp to v0.9.5

Fixes #208
2012-08-21 08:25:26 -07:00
Sean M. Collins ae2424895f Bump LibGit2Sharp to v0.9.5
Fixes #208
2012-08-17 10:21:54 -04:00
Matt Burke f9ff8a04f3 Merge pull request #213 from aasmundeldhuset/casing
Handle differing cases for the same files and folders (#174)
2012-08-17 05:58:18 -07: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
Eldhuset, Åsmund 3a1d996aad Making GitRepository.GetObjects() return file names with forward slashes.
The problems caused by TFS changesets that differ in case from existing tree entries have already been solved by TfsChangeset.UpdateToMatchExtantCasing(), except when LibGit2Sharp returns tree entries with backslashes instead of forward slashes, which causes TfsChangeset.UpdateToMatchExtantCasing() to miss the existing entries.
2012-08-16 20:43:48 +02:00
Richard Birkby 9503cf6a52 Add new test for case insensitive authors lookup 2012-08-16 15:28:15 +01:00
Richard Birkby 641c1b860c Make the authors file username lookup case insensitive
Fixes issue 209
2012-08-16 15:08:21 +01:00
Sean M. Collins 4266bbacfe Copy git2.dll in as a pre-build event 2012-08-12 00:27:02 -04:00
Sean M. Collins 682d683802 Update refs for unit tests 2012-08-12 00:19:51 -04:00
Sean M. Collins edfa6c649c Merge pull request #205 from sc68cal/test_tweaks
Test tweaks
2012-08-11 21:12:57 -07:00
Sean M. Collins 5a6d978451 Merge pull request #197 from edwinf/issue118-push
Feature Request - #118 + Bug fix for removed AD users
2012-08-11 21:11:06 -07: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
Sean M. Collins 2f704ce382 Fix git2.dll handling
MSTest was not copying it to the TestResults directory with the other build results.
2012-08-11 22:53:56 -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
Ed F 5cca260cda Add AuthorsFile.cs and associated unit test.
--AuthorsFile parameter added to the Fetch command and is registered as a singleton.
--Unit tests test the regex of the line parsing.
Updated logic around parsing the original changeset owner.  This was needed to properly identify a user who had been deleted from TFS without the need for an AuthorsFile.
2012-07-31 23:59:43 -04:00
Matt Burke 3ff7e7af42 Add a test that demonstrates mixed-case behavior in TFS during clone. 2012-07-17 11:06:05 -04:00
Aasmund Eldhuset bb908ddcf0 Add support for file names that contain international characters. 2012-07-06 22:39:10 +02:00
Matt Burke e20ff92fe8 Merge pull request #187 from radnor/master
Add default comments for shelves
2012-06-26 20:52:37 -07:00
Kevin Lo 4ed77a4558 Refactor comment assignment 2012-06-26 20:22:55 -07:00
Kevin Lo 1ea8fb8318 Add default comments for shelves
This will generate a default comment for shelves from commit message(s)
just like checkins currently do.
2012-06-26 17:36:53 -07:00
Sean M. Collins 1cb21df3aa Merge pull request #184 from sc68cal/topic/remove_shell_cmds
Replace Git shell command with LibGit2Sharp tree operations
2012-06-11 08:22:22 -07:00
Sean M. Collins 9c994a4fdf Replace Git shell command with LibGit2Sharp tree operations 2012-06-07 15:33:18 -04:00