From 3ffd41b35aaef0226f377ea277a5b5f7e67b5c7f Mon Sep 17 00:00:00 2001 From: andyrooger Date: Tue, 10 Oct 2017 20:40:28 +0100 Subject: [PATCH] Copy export settings to new branches. Potentially closes #975 (#1097) --- GitTfs/Core/GitTfsRemote.cs | 2 ++ doc/release-notes/NEXT.md | 1 + 2 files changed, 3 insertions(+) diff --git a/GitTfs/Core/GitTfsRemote.cs b/GitTfs/Core/GitTfsRemote.cs index 79b5a459..e8854476 100644 --- a/GitTfs/Core/GitTfsRemote.cs +++ b/GitTfs/Core/GitTfsRemote.cs @@ -1033,6 +1033,8 @@ namespace Sep.Git.Tfs.Core Repository = tfsRepositoryPath, RemoteOptions = remoteOptions }, string.Empty); + tfsRemote.ExportMetadatas = ExportMetadatas; + tfsRemote.ExportWorkitemsMapping = ExportWorkitemsMapping; } if (sha1RootCommit != null && !Repository.HasRef(tfsRemote.RemoteRef)) { diff --git a/doc/release-notes/NEXT.md b/doc/release-notes/NEXT.md index 0ff9bd24..ded61696 100644 --- a/doc/release-notes/NEXT.md +++ b/doc/release-notes/NEXT.md @@ -7,3 +7,4 @@ * Added a TraceWarning message when the authors file fails to copy to the cache location (#1071) * Prevent infinite loop when parent changeset cannot be found * Fix xcopy error on build with spaces in solution path (#1092) +* Apply export argument to all branches rather than just the trunk (#975) \ No newline at end of file