Show More
@@ -753,7 +753,6 b' class curseschunkselector(object):' | |||||
753 | if isinstance(item, uiheader): |
|
753 | if isinstance(item, uiheader): | |
754 | item.partial = False |
|
754 | item.partial = False | |
755 | if item.applied: |
|
755 | if item.applied: | |
756 | if not item.special(): |
|
|||
757 |
|
|
756 | # apply all its hunks | |
758 |
|
|
757 | for hnk in item.hunks: | |
759 |
|
|
758 | hnk.applied = True | |
@@ -761,10 +760,6 b' class curseschunkselector(object):' | |||||
761 |
|
|
760 | for hunkline in hnk.changedlines: | |
762 |
|
|
761 | hunkline.applied = True | |
763 |
|
|
762 | else: | |
764 | # all children are off (but the header is on) |
|
|||
765 | if len(item.allchildren()) > 0: |
|
|||
766 | item.partial = True |
|
|||
767 | else: |
|
|||
768 | # un-apply all its hunks |
|
763 | # un-apply all its hunks | |
769 | for hnk in item.hunks: |
|
764 | for hnk in item.hunks: | |
770 | hnk.applied = False |
|
765 | hnk.applied = False |
General Comments 0
You need to be logged in to leave comments.
Login now