Matt Burke
ea7c82c038
Show timing information in debug output.
2013-06-08 07:48:25 -04:00
Matt Burke
2d612bc19c
Extract the ignore logic.
...
Working towards #381 and #not-a-hack.
2013-06-03 08:36:23 -04:00
Chris Wundram
4d034293c4
Merge branch 'master' into ignoreexcept
2013-05-29 16:33:13 -05:00
Matt Burke
106a064c98
Merge pull request #366 from pmiossec/use_saved_author_file
...
Use saved author file for rcheckin commits
2013-05-29 07:09:21 -07:00
Chris Wundram
54807c30f5
Added --nofetch option to init-branch to set up TFS remote for branch
...
without doing a fetch. Usefull to check config file before executing
fetch.
Now fails when --all and --nofetch are used on init-branch at the same time
Added test for case with --all and --nofetch
2013-05-27 08:19:59 -05:00
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
Philippe Miossec
770656f44e
Use saved author file for rcheckin commits
2013-05-22 17:01:55 +02:00
Matt Burke
bac056c50e
Update libgit2sharp.
2013-04-29 11:48:51 -04:00
Jonas Boesch
896e7dd6e8
Refactored TryGetValue to FindAuthor
...
- Changed function signature as requested by sc68cal.
- Updated clients and tests.
2013-03-27 14:45:41 +01:00
Jonas Boesch
b38f3adc49
Added test methods to AuthorsFileUnitTest
...
...to test and document the new behavior added for correct author attribution.
2013-03-27 11:10:43 +01: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
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
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
Matt Burke
4a3fe9c864
Handle the "not on a branch" case for init-branch.
2013-01-08 06:34:49 -05:00
Matt Burke
9d7039a396
Separate base TFS interaction from higher-level logic.
2013-01-08 06:27:56 -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
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
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
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
1bcd9b0ea3
improving the error message when InitBranch fails because it needs a clone of the trunk
2013-01-02 00:50:21 -06:00
David Alpert
457770bc1f
fixed the mocked setup of some IBranches to surface an issue with the InitBranch command:
...
the IBranch structure is a node in a tree containing a path and referencing it's children, thus getting only its children never includes the root path, causing the current implementation of InitBranch to always throw an exception.
2013-01-02 00:50:20 -06:00
David Alpert
20bc4b0221
adding the expected error message to an InitBranchTest to verify that it is throwing the expected exception
2013-01-02 00:50:19 -06: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