File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -733,17 +733,11 @@ def _get_orphaned_indirect_change_category(
733733 # One of the new parents in the chain was breaking so this indirect snapshot is breaking
734734 return SnapshotChangeCategory .INDIRECT_BREAKING
735735
736- if SnapshotChangeCategory .FORWARD_ONLY in previous_parent_categories :
737- # One of the new parents in the chain was forward-only so this indirect snapshot is forward-only
738- indirect_category = SnapshotChangeCategory .FORWARD_ONLY
739- elif (
740- previous_parent_categories .intersection (
741- {
742- SnapshotChangeCategory .NON_BREAKING ,
743- SnapshotChangeCategory .INDIRECT_NON_BREAKING ,
744- }
745- )
746- and indirect_category != SnapshotChangeCategory .FORWARD_ONLY
736+ if previous_parent_categories .intersection (
737+ {
738+ SnapshotChangeCategory .NON_BREAKING ,
739+ SnapshotChangeCategory .INDIRECT_NON_BREAKING ,
740+ }
747741 ):
748742 # All changes in the chain were non-breaking so this indirect snapshot can be non-breaking too
749743 indirect_category = SnapshotChangeCategory .INDIRECT_NON_BREAKING
You can’t perform that action at this time.
0 commit comments