Commit Graph

55 Commits

Author SHA1 Message Date
Chris Wundram bf61edfcc1 Added an additional ignore-except config option to add exceptions to files
ignored by the ignore-paths option.  For example if you want to ignore all
exe files except the .nuget/NuGet.exe file, you can add exe$ to the ignore-paths
and ^\.nuget to the ignore-except.

Added --except-regex command line option to RemoteOptions to set ignore-except
config.

New tfs-remotes for branches now will copy the ignore-paths and ingore-except
options from the default tfs remote.
2013-05-27 08:14:09 -05:00
Matt Burke bac056c50e Update libgit2sharp. 2013-04-29 11:48:51 -04:00
Jonas Boesch 86bc1a4b77 Fixed code that failed test WorkspaceTests.Policy_failed_and_Force_with_an_OverrideReason.
- Updated test calls.
- Removed duplicate versions of Checkin and EvaluateCheckin without author.
2013-03-26 15:59:48 +01:00
Matt Burke 718fe632ed Remove debugging code. 2013-03-18 17:43:11 -04:00
Matt Burke 10aa79170d All green. 2013-03-18 17:42:18 -04:00
Matt Burke 4b31aa1417 This is what happens when I write C# on my mac. 2013-03-18 17:08:52 -04:00
Matt Burke 693f1174eb Roll up deletes to just the top level. 2013-03-18 10:38:49 -04:00
Matt Burke c0983fa8d4 Renaming a file disqualifies its parent from being tidied. 2013-03-18 10:38:02 -04:00
ivan.danilov-econ fd476db20a Fixed incorrect order of folder deletion in some cases with test 2013-03-07 20:56:47 +02:00
Philippe Miossec f2c7832ac2 Don't return unvalid remotes
The one without Tfs URL or path...
It could happen when renaming a tfs remote with parameters no more supported
2013-02-03 18:53:15 +01: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 52e30c98ba Merge remote-tracking branch 'origin/master' into 297 2013-01-28 08:24:46 -05:00
Matt Burke f7400ffccf Refactor, and add a missing test. 2013-01-28 08:24:15 -05:00
Matt Burke f5f3debf1e Merge all the RemoteConfigConverter test classes. 2013-01-28 08:06:04 -05:00
Matt Burke 88a55766d3 Move the remotes-with-dots test to a different place. 2013-01-28 07:56:53 -05:00
Thomas Wurtz dfab91cd41 Added unittest to verify reading configuration for branches with dot in branch name 2013-01-27 17:29:34 +01:00
Matt Burke 93f9a2f029 Merge remote-tracking branch 'origin/master' into delete-orphans 2013-01-25 13:15:41 -05:00
Matt Burke d58043bffd Remove some debugging leftovers. 2013-01-25 13:09:51 -05:00
Matt Burke 04f21c8881 Implement DirectoryTidier. 2013-01-24 17:56:27 -05:00
Matt Burke a1a0d2336f Start DirectoryTidier. 2013-01-24 17:56:27 -05:00
Matt Burke 4c2ab71e75 Remove unused config no-meta-data (see #281, #283). 2013-01-10 09:25:57 -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 d7cca94d4c Merge pull request #274. 2013-01-08 07:03:59 -05:00
Matt Burke 3911338152 Change IBranch into a simple-ish value object BranchTree. 2013-01-08 06:53:15 -05:00
Matt Burke 28b8e93a91 DateCreated isn't used. 2013-01-08 06:39:00 -05:00
David Alpert a2af52536b renaming some branch-related helper classes and cleaning up whitespace in the output 2013-01-02 21:38:37 -06:00
Daniel Lee 6e42acb54b Add method to compare Tfs url and Repo path to GitTfsRemote
Moving logic from TfsHelper.Common and GitRepository into GitTfsRemote.
Easier to test as TfsHelper is tightly connected to Tfs and GitRepository is
difficult to test directly. Added tests for GitTfsRemote.
2013-01-02 23:54:36 +01:00
David Alpert 637569c424 trailing slashes are stripped from incoming TFS repository paths so that exact comparisons match properly. 2013-01-02 00:50:19 -06:00
David Alpert da394477c1 fixing a possible NullReferenceException 2013-01-02 00:50:19 -06: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 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 455b5f2536 New config reader for tfs remotes. 2012-09-10 23:18:36 -04:00
David Alpert 705d4d9f5b refactoring the generic caretaker into an explicitly passed and customized clone of the checkinoptions. 2012-09-10 09:38:18 -05:00
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
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 3b6dd441c3 Use xunit. 2012-08-29 16:52:32 -04:00
Kim Gybels 186a0184c2 Use -z option with git diff-tree.
When -z has been given, diff-tree does not munge pathnames and uses
NULs as output field terminators. This allows for secure parsing of
the output.

Quoted paths were not correctly interpreted as UTF-8. This avoids the
problem by not having quoted paths.
2012-08-11 19:22:56 +02:00
Matt Burke 7e3523c0f7 No more switch. 2012-06-01 20:11:04 -04:00
Sean M. Collins b0eb392cab Replace GitSharp FileMode with LibGit2Sharp.Mode 2012-05-31 15:00:52 -04:00
Steve Schmidt d7c24b6a09 Added unit tests to ensure that quotepath support is working 2012-02-22 17:06:50 +01:00
Matt Burke fe64790216 Add support for "Copy" in another way.
Copies can be reported if diff.renames is set to 'copies'.

#44
2011-05-21 14:19:09 -04:00
Matt Burke 2ae026001f Fixed pushes back to TFS. 2011-01-26 16:23:35 -05:00
Matt Burke 7acceda081 Added some tests for GitChangeInfo. 2010-10-13 10:02:45 -04:00
Matt Burke 7ba82f98b3 Started extracting TFS client dependencies in order to make them less dependent. 2010-04-19 15:15:45 -04:00
Matt Burke 0c4acfc761 Changed to use GitSharp for all file mode stuff. 2010-01-19 11:19:48 -05:00
Matt Burke 0bc16f555e Added a basic shelve implementation. 2009-09-08 14:18:02 -04:00
Matt Burke 18d346d14f Implemented a little bit more of TfsChangeset.Apply. 2009-07-10 18:15:41 -04:00