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""" |