Plugins/VcsPlugins/vcsPySvn/subversion.py

changeset 2280
8e85ca3fabe7
parent 2222
105f425944a2
child 2302
f29e9405c851
equal deleted inserted replaced
2279:cbf90feec16f 2280:8e85ca3fabe7
511 project.checkDirty() 511 project.checkDirty()
512 continue 512 continue
513 elif os.path.isfile(nam): 513 elif os.path.isfile(nam):
514 editor = e5App().getObject("ViewManager").getOpenEditor(nam) 514 editor = e5App().getObject("ViewManager").getOpenEditor(nam)
515 if editor: 515 if editor:
516 ok &= editor.checkDirty() 516 ok &= editor.checkDirty()
517 if not ok: 517 if not ok:
518 break 518 break
519 519
520 if not ok: 520 if not ok:
521 res = E5MessageBox.yesNo(self.__ui, 521 res = E5MessageBox.yesNo(self.__ui,
522 self.trUtf8("Commit Changes"), 522 self.trUtf8("Commit Changes"),
523 self.trUtf8("""The commit affects files, that have unsaved""" 523 self.trUtf8("""The commit affects files, that have unsaved"""
524 """ changes. Shall the commit be continued?"""), 524 """ changes. Shall the commit be continued?"""),
525 icon = E5MessageBox.Warning) 525 icon=E5MessageBox.Warning)
526 if not res: 526 if not res:
527 return 527 return
528 528
529 if self.__commitDialog is not None: 529 if self.__commitDialog is not None:
530 msg = self.__commitDialog.logMessage() 530 msg = self.__commitDialog.logMessage()

eric ide

mercurial