Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3044
a6cee59c80a4
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
193 ' ': self.trUtf8('yes'), 193 ' ': self.trUtf8('yes'),
194 '*': self.trUtf8('no'), 194 '*': self.trUtf8('no'),
195 } 195 }
196 196
197 self.rx_status = QRegExp( 197 self.rx_status = QRegExp(
198 '(.{8,9})\\s+([0-9-]+)\\s+([0-9?]+)\\s+([\\w?]+)\\s+(.+)\\s*') 198 '(.{8,9})\\s+([0-9-]+)\\s+([0-9?]+)\\s+(\\S+)\\s+(.+)\\s*')
199 # flags (8 or 9 anything), revision, changed rev, author, path 199 # flags (8 or 9 anything), revision, changed rev, author, path
200 self.rx_status2 = \ 200 self.rx_status2 = \
201 QRegExp('(.{8,9})\\s+(.+)\\s*') 201 QRegExp('(.{8,9})\\s+(.+)\\s*')
202 # flags (8 or 9 anything), path 202 # flags (8 or 9 anything), path
203 self.rx_changelist = \ 203 self.rx_changelist = \
892 """ 892 """
893 Private slot to handle the Break Lock context menu entry. 893 Private slot to handle the Break Lock context menu entry.
894 """ 894 """
895 names = [os.path.join(self.dname, itm.text(self.__pathColumn)) 895 names = [os.path.join(self.dname, itm.text(self.__pathColumn))
896 for itm in self.__getLockActionItems( 896 for itm in self.__getLockActionItems(
897 self.stealBreakLockIndicators)] 897 self.stealBreakLockIndicators)]
898 if not names: 898 if not names:
899 E5MessageBox.information( 899 E5MessageBox.information(
900 self, 900 self,
901 self.trUtf8("Break Lock"), 901 self.trUtf8("Break Lock"),
902 self.trUtf8("""There are no locked files""" 902 self.trUtf8("""There are no locked files"""
910 """ 910 """
911 Private slot to handle the Break Lock context menu entry. 911 Private slot to handle the Break Lock context menu entry.
912 """ 912 """
913 names = [os.path.join(self.dname, itm.text(self.__pathColumn)) 913 names = [os.path.join(self.dname, itm.text(self.__pathColumn))
914 for itm in self.__getLockActionItems( 914 for itm in self.__getLockActionItems(
915 self.stealBreakLockIndicators)] 915 self.stealBreakLockIndicators)]
916 if not names: 916 if not names:
917 E5MessageBox.information( 917 E5MessageBox.information(
918 self, 918 self,
919 self.trUtf8("Steal Lock"), 919 self.trUtf8("Steal Lock"),
920 self.trUtf8("""There are no locked files""" 920 self.trUtf8("""There are no locked files"""

eric ide

mercurial