Show More
@@ -852,7 +852,7 b' class UpgradeOperation(BaseOperation):' | |||||
852 |
|
852 | |||
853 | return False |
|
853 | return False | |
854 |
|
854 | |||
855 | def _write_labeled(self, l, label): |
|
855 | def _write_labeled(self, l, label: bytes): | |
856 | """ |
|
856 | """ | |
857 | Utility function to aid writing of a list under one label |
|
857 | Utility function to aid writing of a list under one label | |
858 | """ |
|
858 | """ | |
@@ -867,19 +867,19 b' class UpgradeOperation(BaseOperation):' | |||||
867 | self.ui.write(_(b'requirements\n')) |
|
867 | self.ui.write(_(b'requirements\n')) | |
868 | self.ui.write(_(b' preserved: ')) |
|
868 | self.ui.write(_(b' preserved: ')) | |
869 | self._write_labeled( |
|
869 | self._write_labeled( | |
870 | self._preserved_requirements, "upgrade-repo.requirement.preserved" |
|
870 | self._preserved_requirements, b"upgrade-repo.requirement.preserved" | |
871 | ) |
|
871 | ) | |
872 | self.ui.write((b'\n')) |
|
872 | self.ui.write((b'\n')) | |
873 | if self._removed_requirements: |
|
873 | if self._removed_requirements: | |
874 | self.ui.write(_(b' removed: ')) |
|
874 | self.ui.write(_(b' removed: ')) | |
875 | self._write_labeled( |
|
875 | self._write_labeled( | |
876 | self._removed_requirements, "upgrade-repo.requirement.removed" |
|
876 | self._removed_requirements, b"upgrade-repo.requirement.removed" | |
877 | ) |
|
877 | ) | |
878 | self.ui.write((b'\n')) |
|
878 | self.ui.write((b'\n')) | |
879 | if self._added_requirements: |
|
879 | if self._added_requirements: | |
880 | self.ui.write(_(b' added: ')) |
|
880 | self.ui.write(_(b' added: ')) | |
881 | self._write_labeled( |
|
881 | self._write_labeled( | |
882 | self._added_requirements, "upgrade-repo.requirement.added" |
|
882 | self._added_requirements, b"upgrade-repo.requirement.added" | |
883 | ) |
|
883 | ) | |
884 | self.ui.write((b'\n')) |
|
884 | self.ui.write((b'\n')) | |
885 | self.ui.write(b'\n') |
|
885 | self.ui.write(b'\n') | |
@@ -893,7 +893,7 b' class UpgradeOperation(BaseOperation):' | |||||
893 | self.ui.write(_(b'optimisations: ')) |
|
893 | self.ui.write(_(b'optimisations: ')) | |
894 | self._write_labeled( |
|
894 | self._write_labeled( | |
895 | [a.name for a in optimisations], |
|
895 | [a.name for a in optimisations], | |
896 | "upgrade-repo.optimisation.performed", |
|
896 | b"upgrade-repo.optimisation.performed", | |
897 | ) |
|
897 | ) | |
898 | self.ui.write(b'\n\n') |
|
898 | self.ui.write(b'\n\n') | |
899 |
|
899 |
General Comments 0
You need to be logged in to leave comments.
Login now