Commit Graph

250 Commits

Author SHA1 Message Date
Peter Baumann bb26bc8eb4 Update Moq to 4.14.7 2020-11-17 20:48:54 +01:00
Peter Baumann 332ff6c063 Upgrade ReportGenerator to 4.7.1
Update tools path in the cake file, as the path is now under a different
location due to multi targeting.
2020-11-17 20:48:54 +01:00
Peter Baumann 6d30724ab4 Pin paket version to 5.251.0
Otherwise, the build is not completely reproducable and depending if there
is a new paket version available, due to its autoupgrade it will mess with
the checked in file src/.paket/Paket.Restore.targets and cause strange
conflicts.

This commit has proven usefull when dealing a long running branch of patches
to the paket.dependencies and/or paket.lock file.
2020-11-17 20:48:52 +01:00
siprbaum cca9298bc6 Fix case conflict in file name doc/release-notes/{NEXT.md,Next.md} (#1346)
In a4c76e2f ("Performance improvement - cache the branch objects instead
of looking them up over and over", 2019-06-25) introduced via PR #1286
the filename conflict on case insensitive filesystems:
	doc/release-notes/Next.md
vs
	doc/release-notes/NEXT.md

The later name is the one already existing and what is used throughout
the history, where as the former one wasn't used at all before.
Merge the two files and remove the wrong doc/release-notes/Next.md one.
While I am alrady modifying the file, add the reference to the pull requests
to the changelog entries.
2020-11-17 20:21:39 +01:00
Matt Burke 9133e62143 Merge pull request #1286 from AriehSchneier/performance-improvement
Performance improvement - cache the branch objects
2020-11-17 11:49:51 -05:00
Peter Baumann 879fdd4884 Use --rebase-merges for rebase instead of the deprecated --preserve-merges
git rebase --rebase-merges commandline switch was introduced in Git
version v2.18.0 (released on 2018-06-21) to replace the --preserve-merges
commandline switch to git rebase. Since v2.22.0 the old --preserve-merges
is offically deprecated.

Replace the deprecated usage of --preserve-merges with the newer --rebase-merges
option on all occurences.

The decision was made that the git version v2.18.0 as the minimum required version
is reasonably old enough to assume that the user has it (or a newer version)
installed on his machine. Therefore no version dependend logic on which
switch to select was implemented here.
2020-10-28 01:19:28 +01:00
Git-tfs release bot 1355d5ff04 Prepare release v0.31 2020-05-30 21:56:04 +00:00
Baruch Odem (Rothkoff) c74a43696c Move [options] to right place
From the [`clone`](https://github.com/git-tfs/git-tfs/blob/master/doc/commands/clone.md) help I see the `[options]` comes right after the `clone` keyword.

Also, right now, running the `git tfs clone https://tfs.codeplex.com:443/tfs/Collection $/project/trunk . --branches=all` returns me:
> warning: you are going to clone a subdirectory of a branch and won't be able to manage branches :(
   => If you want to manage branches with git-tfs, clone $/Enterprise/Utils with '--branches=all' option instead...)
2020-01-26 12:31:02 +01:00
Philippe Miossec 04d551f8a5 Update NEXT.md 2020-01-17 10:42:55 +01:00
idubnori 2d25608bcb Update git-tfs pull options to the latest in pull.md 2020-01-15 12:25:13 +01:00
Serhan Tutar 64c1a47efd Updated v0.30.0.md for long path support doc link
.Net462 and windows10 long path support documentation link was broken, this should fix the problem.
2019-12-06 01:21:39 +01:00
jnm2 f71d5c967e Interpret authors file path relative to the current directory at the time the command was executed 2019-12-05 19:02:17 -05:00
Mario Dietner 4a7aff94ae Removed repository path, optimized code and updated readme with use case 2019-11-10 12:48:31 +01:00
Mario Dietner f40201d1b9 updated release notes 2019-11-01 14:08:01 +01:00
Mario Dietner d652b0d9dd Creates a mapping file of ChangesetId-Commit values. 2019-11-01 14:02:06 +01:00
Peter Baumann 81c0fb4a7c Remove GitTfs.Setup and the broken MSI file handling
Building the MSI is not working since 6732259 ("Moving source in
the 'src' folder", 2017-10-13) and when actually looking at the
GitHub releases, the MSI is not attached to any of them.

The MSI file was never distributed on any GitHub release and using
copy deployment zip file is much more conveniant, because it allows
having multiple versions available.

Therefore, remove the GitTfs.Setup code and the upload function
in the cake build file.
2019-07-25 17:47:08 +02:00
oathgg 6ba103d4dd FIX: Code formatting has been improved. (#1293) 2019-07-25 16:34:22 +02:00
arieh.schneier a4c76e2fd2 Performance improvement - cache the branch objects instead of looking them up over and over 2019-06-25 14:51:34 +10:00
Philippe Miossec fbf77a0013 Remove support for VS2012 & VS2013 (some more) 2019-05-21 00:47:40 +02:00
Git-tfs release bot 69ccdeacd7 Prepare release v0.30 2019-05-20 21:47:58 +00:00
Philippe Miossec 6bc90e6eae Merge pull request #1271 from nils-a/master
new option --no-parallel to fix issue #1242
2019-05-20 13:53:26 +02:00
Nils Andresen a99ca80068 updated the docs to reflect the changed description for --no-parallel 2019-04-28 11:43:08 +02:00
egallardol 4eaa37be5f Added clarification (#1272) 2019-04-24 20:02:57 +02:00
Nils Andresen 250c4a5dd7 added missing line in release-notes 2019-04-20 20:43:24 +02:00
Nils Andresen 76e1d8a497 new option --no-parallel to fix issue #1242 2019-04-20 20:38:05 +02:00
Magnus Österlund 1e043a0c7a Stop using property InitialChangeset for branch information.
The global property `InitialChangeset` is used to store the first changeset the user want to clone from.

But this was also in some situations used to store the first changeset of a branch. This cause a problem as this property is global and will be applied to all branches. If `InitialChangeset` is set for a branch, the next cloned branch can not get the changesets before the changeset given this `InitialChangeset` if it is not updated for that branch to.

It is problematic to use a property for different information.
2019-04-04 11:36:30 +02:00
Shaun Sutterfield 65130ea3bf Improve detection of merge parent
Fixes issue where the wrong parent is selected for a merge if the
correct parent consists entirely of files that were modified in earlier
changesets in the merge (it was selecting the highest "version FROM"
instead of "version TO").
2019-04-02 14:45:14 +02:00
Philippe Miossec d52db634bb docs: improve migration to Git doc 2019-02-12 10:13:40 +01:00
Philippe Miossec 211f5ea719 docs: improve migration to Git doc 2019-02-12 10:10:39 +01:00
Jeff Cyr dafdea1c1d Normalize line endings on checkout/tfs push if autocrlf=true (#1210)
* Properly normalize line ending if autocrlf is set to true
2019-01-25 16:48:21 +01:00
Mert Akinc 75475f1b6d Update release notes 2019-01-23 15:38:44 -06:00
Martins Ewere b0b5aa41ab doc: Update migrate_tfs_to_git.md (#1247)
Fixed some typos 👍
2019-01-21 23:54:07 +01:00
jfox 8a20dde3a8 Update Set-custom-workspace.md (#1235) 2018-11-16 20:13:07 +01:00
Philippe Miossec 366c0b77eb Add .net462 and windows10 long path support (#1221)
* Update Application  manifest
* Update App.config
* Upgrade to .net 4.6.2

Support in win10 for long path should be enabled:
In the Local Group Policy Editor ("gpedit.msc") navigate to `Local Computer Policy` -> `Computer Configuration` -> `Administrative Templates` -> `All Settings` ->`Enable Win32 long paths`.
Set it to `Enabled`.

https://blogs.msdn.microsoft.com/jeremykuhne/2016/07/30/net-4-6-2-and-long-paths-on-windows-10/
2018-11-14 13:10:05 +01:00
Bernard Vander Beken add3af2a30 Fix spelling (#1226) 2018-10-15 10:52:06 +02:00
Geert Bleyen be9c7b3048 Deleteallremotes (#1204)
* Added option to delete all remotes at once
2018-08-10 01:51:12 +02:00
Geert Bleyen 742a29f5eb Better detection of relevant changes for finding parent to fetch (#1203) 2018-08-10 01:41:48 +02:00
Lukas Rieger 57a37c2a39 Clone whole collection into "tfs-collection" when no name is specified (#1202)
Fixes #1201
2018-06-12 13:44:12 +02:00
Git-tfs release bot bf516ddb26 Prepare release v0.29 2018-05-29 20:44:01 +00:00
Geert Bleyen 6180aa18e3 Fix critical bug in merge parent changeset lookup
Now, looking for the parent changeset is done by examining the actual mergesources of the merge itself.
When the merge changeset contains merges from more than 1 branch, this may still lead to missing merge history,
but that's not solvable in git, as it just doesn't support such scenarios.
If this scenario occurs, the branch with the highest mergesource version will be picked (in the old implementation this also failed)

See #1195
2018-05-29 22:33:40 +02:00
Lars Schneider d4391dcf6f Add --ignore-restricted-changesets option to fetch command
If a TFS user has no read access to a changeset, then TFS responds with
a "TF14098: Access Denied" error. This error aborts the fetch operation.

Add the --ignore-restricted-changesets option which allows the user to
ignore these respective changeset. If the option is set, then git tfs
will import the access restricted changeset as empty commit and ignore
the error.
2018-05-25 12:32:15 +02:00
Geert Bleyen fd87b0fb7d external repository detection fix and usability improvements to exclude branches during clone/fetch (#1194)
* fixed bug in external repository detection
improved usability by
- exposing ignore-not-init-branches to commandline
- added ignore-branches-regex to more granularly control which branches to initialize during fetching and cloning
2018-05-24 01:38:48 +02:00
Memmie Lenglet c432bbbb90 Fix parameter name in doc (#1193)
* Rename parameter name

*  Rename parameter name
2018-05-14 17:24:29 +02:00
Laibalion dfb0aef0ac Ignore not init branches (#1189)
ignore-not-init-branches's value is not longer case sensitive.
True, true, False, False etc are all valid.
2018-05-09 18:20:00 +02:00
Philippe Miossec ba55b655c3 Pick up labels that don't specifically have the branch folder listed. Fixes #1125. 2018-03-02 14:11:15 +01:00
Git-tfs release bot 1c086c4d35 Prepare release v0.28 2018-01-28 17:46:54 +00:00
Philippe Miossec 8addcfa7e4 forgotten release note 2018-01-28 18:36:44 +01:00
Philippe Miossec 81bb9de628 Update release note and doc 2018-01-27 13:21:51 +01:00
Philippe Miossec 825fd51985 doc on enabling Checkin policies support 2017-11-30 01:34:34 +01:00
Andy Gurden 57708cfcd3 Initialize remote for export where needed whenever they are read from the repository. Fixes #1123 2017-11-07 19:34:16 +00:00