eric6/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py

changeset 7628
f904d0eef264
parent 7360
9190402e4505
child 7780
41420f82c0ac
equal deleted inserted replaced
7626:7f643d41464e 7628:f904d0eef264
184 'replace') 184 'replace')
185 self.resultbox.insertPlainText(s) 185 self.resultbox.insertPlainText(s)
186 self.resultbox.ensureCursorVisible() 186 self.resultbox.ensureCursorVisible()
187 if not self.__hasAddOrDelete and len(s) > 0: 187 if not self.__hasAddOrDelete and len(s) > 0:
188 # check the output 188 # check the output
189 for l in s.split(os.linesep): 189 for line in s.split(os.linesep):
190 if '.e4p' in l: 190 if '.e4p' in line:
191 self.__hasAddOrDelete = True 191 self.__hasAddOrDelete = True
192 break 192 break
193 if l and l[0:2].strip() in ['A', 'D']: 193 if line and line[0:2].strip() in ['A', 'D']:
194 self.__hasAddOrDelete = True 194 self.__hasAddOrDelete = True
195 break 195 break
196 196
197 def __readStderr(self): 197 def __readStderr(self):
198 """ 198 """

eric ide

mercurial