src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py

branch
eric7
changeset 9576
be9f8e7e42e0
parent 9573
9960d19d66b5
child 9624
b47dfa7a137d
equal deleted inserted replaced
9575:635b6c5a36e1 9576:be9f8e7e42e0
691 ] 691 ]
692 if not names: 692 if not names:
693 EricMessageBox.information( 693 EricMessageBox.information(
694 self, 694 self,
695 self.tr("Add"), 695 self.tr("Add"),
696 self.tr( 696 self.tr("""There are no unversioned entries available/selected."""),
697 """There are no unversioned entries available/selected."""
698 ),
699 ) 697 )
700 return 698 return
701 699
702 self.vcs.vcsAdd(names) 700 self.vcs.vcsAdd(names)
703 self.on_refreshButton_clicked() 701 self.on_refreshButton_clicked()
717 ] 715 ]
718 if not names: 716 if not names:
719 EricMessageBox.information( 717 EricMessageBox.information(
720 self, 718 self,
721 self.tr("Revert"), 719 self.tr("Revert"),
722 self.tr( 720 self.tr("""There are no uncommitted changes available/selected."""),
723 """There are no uncommitted changes available/selected."""
724 ),
725 ) 721 )
726 return 722 return
727 723
728 self.vcs.vcsRevert(names) 724 self.vcs.vcsRevert(names)
729 self.raise_() 725 self.raise_()
767 ] 763 ]
768 if not names: 764 if not names:
769 EricMessageBox.information( 765 EricMessageBox.information(
770 self, 766 self,
771 self.tr("Differences"), 767 self.tr("Differences"),
772 self.tr( 768 self.tr("""There are no uncommitted changes available/selected."""),
773 """There are no uncommitted changes available/selected."""
774 ),
775 ) 769 )
776 return 770 return
777 771
778 if self.diff is None: 772 if self.diff is None:
779 self.diff = SvnDiffDialog(self.vcs) 773 self.diff = SvnDiffDialog(self.vcs)
791 ] 785 ]
792 if not names: 786 if not names:
793 EricMessageBox.information( 787 EricMessageBox.information(
794 self, 788 self,
795 self.tr("Side-by-Side Diff"), 789 self.tr("Side-by-Side Diff"),
796 self.tr( 790 self.tr("""There are no uncommitted changes available/selected."""),
797 """There are no uncommitted changes available/selected."""
798 ),
799 ) 791 )
800 return 792 return
801 elif len(names) > 1: 793 elif len(names) > 1:
802 EricMessageBox.information( 794 EricMessageBox.information(
803 self, 795 self,

eric ide

mercurial