File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -62,18 +62,6 @@ public IEnumerable<TopologicalOperation> GetTopologicalOperations(IReadOnlyList<
62
62
}
63
63
}
64
64
65
- foreach ( var change in changesetChanges )
66
- {
67
- if ( change . ChangeType . HasFlag ( VersionControlChangeType . Delete ) && currentBranchPaths . Remove ( change . Item . Path ) )
68
- {
69
- if ( change . ChangeType != VersionControlChangeType . Delete )
70
- throw new NotImplementedException ( "Poorly-understood combination" ) ;
71
-
72
- var deletedBranch = branchIdentifier . Delete ( changeset , change . Item . Path ) ;
73
- yield return new DeleteOperation ( changeset , deletedBranch ) ;
74
- }
75
- }
76
-
77
65
branchIdentifier . NoFurtherChangesUpTo ( changeset - 1 ) ;
78
66
79
67
var ( branches , merges ) = GetBranchAndMergeOperations ( changesetChanges , branchIdentifier ) ;
@@ -89,6 +77,18 @@ public IEnumerable<TopologicalOperation> GetTopologicalOperations(IReadOnlyList<
89
77
{
90
78
yield return operation ;
91
79
}
80
+
81
+ foreach ( var change in changesetChanges )
82
+ {
83
+ if ( change . ChangeType . HasFlag ( VersionControlChangeType . Delete ) && currentBranchPaths . Remove ( change . Item . Path ) )
84
+ {
85
+ if ( change . ChangeType != VersionControlChangeType . Delete )
86
+ throw new NotImplementedException ( "Poorly-understood combination" ) ;
87
+
88
+ var deletedBranch = branchIdentifier . Delete ( changeset , change . Item . Path ) ;
89
+ yield return new DeleteOperation ( changeset , deletedBranch ) ;
90
+ }
91
+ }
92
92
}
93
93
94
94
private static ( ImmutableArray < BranchOperation > Branches , ImmutableArray < MergeOperation > Merges )
You can’t perform that action at this time.
0 commit comments