equal
deleted
inserted
replaced
675 write = self.ui.write |
675 write = self.ui.write |
676 else: |
676 else: |
677 write = self.ui.warn |
677 write = self.ui.warn |
678 |
678 |
679 if all_patches or self.ui.verbose: |
679 if all_patches or self.ui.verbose: |
680 if isinstance(idx, str): |
680 if isinstance(idx, bytes): |
681 idx = self.series.index(idx) |
681 idx = self.series.index(idx) |
682 pushable, why = self.pushable(idx) |
682 pushable, why = self.pushable(idx) |
683 if all_patches and pushable: |
683 if all_patches and pushable: |
684 if why is None: |
684 if why is None: |
685 write(_('allowing %s - no guards in effect\n') % |
685 write(_('allowing %s - no guards in effect\n') % |