We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1592d01 + 3b188cb commit 6c6de02Copy full SHA for 6c6de02
src/TfvcMigrator/Program.cs
@@ -485,7 +485,9 @@ private static async IAsyncEnumerable<MappingState> EnumerateMappingStatesAsync(
485
486
mapping = PathUtils.IsOrContains(branch.SourceBranchPath, mapping.RootDirectory)
487
? mapping.ApplyRename(branch.SourceBranchPath, branch.NewBranch.Path)
488
- : mapping.WithSubdirectoryMapping(branch.NewBranch.Path, branch.SourceBranchPath);
+ : mapping.WithSubdirectoryMapping(
489
+ branch.NewBranch.Path,
490
+ mapping.SubdirectoryMapping?.TargetDirectory ?? branch.SourceBranchPath);
491
492
branchMappings.Add(branch.NewBranch, mapping);
493
break;
0 commit comments