Plugins/VcsPlugins/vcsSubversion/subversion.py

changeset 2280
8e85ca3fabe7
parent 2222
105f425944a2
child 2302
f29e9405c851
equal deleted inserted replaced
2279:cbf90feec16f 2280:8e85ca3fabe7
481 project.checkDirty() 481 project.checkDirty()
482 continue 482 continue
483 elif os.path.isfile(nam): 483 elif os.path.isfile(nam):
484 editor = e5App().getObject("ViewManager").getOpenEditor(nam) 484 editor = e5App().getObject("ViewManager").getOpenEditor(nam)
485 if editor: 485 if editor:
486 ok &= editor.checkDirty() 486 ok &= editor.checkDirty()
487 if not ok: 487 if not ok:
488 break 488 break
489 489
490 if not ok: 490 if not ok:
491 res = E5MessageBox.yesNo(self.__ui, 491 res = E5MessageBox.yesNo(self.__ui,
492 self.trUtf8("Commit Changes"), 492 self.trUtf8("Commit Changes"),
493 self.trUtf8("""The commit affects files, that have unsaved""" 493 self.trUtf8("""The commit affects files, that have unsaved"""
494 """ changes. Shall the commit be continued?"""), 494 """ changes. Shall the commit be continued?"""),
495 icon = E5MessageBox.Warning) 495 icon=E5MessageBox.Warning)
496 if not res: 496 if not res:
497 return 497 return
498 498
499 if self.__commitDialog is not None: 499 if self.__commitDialog is not None:
500 msg = self.__commitDialog.logMessage() 500 msg = self.__commitDialog.logMessage()

eric ide

mercurial