eric7/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8354
12ebd3934fef
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
15 from PyQt6.QtCore import Qt, QDate, pyqtSlot, QPoint 15 from PyQt6.QtCore import Qt, QDate, pyqtSlot, QPoint
16 from PyQt6.QtWidgets import ( 16 from PyQt6.QtWidgets import (
17 QHeaderView, QWidget, QApplication, QDialogButtonBox, QTreeWidgetItem 17 QHeaderView, QWidget, QApplication, QDialogButtonBox, QTreeWidgetItem
18 ) 18 )
19 19
20 from E5Gui import E5MessageBox 20 from E5Gui import EricMessageBox
21 from E5Gui.E5OverrideCursor import E5OverrideCursor 21 from E5Gui.EricOverrideCursor import EricOverrideCursor
22 22
23 from EricUtilities.EricMutexLocker import EricMutexLocker 23 from EricUtilities.EricMutexLocker import EricMutexLocker
24 24
25 from .SvnUtilities import formatTime, dateFromTime_t 25 from .SvnUtilities import formatTime, dateFromTime_t
26 from .SvnDialogMixin import SvnDialogMixin 26 from .SvnDialogMixin import SvnDialogMixin
281 start = pysvn.Revision(pysvn.opt_revision_kind.number, 281 start = pysvn.Revision(pysvn.opt_revision_kind.number,
282 int(startRev)) 282 int(startRev))
283 except TypeError: 283 except TypeError:
284 start = pysvn.Revision(pysvn.opt_revision_kind.head) 284 start = pysvn.Revision(pysvn.opt_revision_kind.head)
285 285
286 with E5OverrideCursor(): 286 with EricOverrideCursor():
287 cwd = os.getcwd() 287 cwd = os.getcwd()
288 os.chdir(self.dname) 288 os.chdir(self.dname)
289 try: 289 try:
290 nextRev = 0 290 nextRev = 0
291 fetched = 0 291 fetched = 0
529 """ 529 """
530 Private slot to show an error message. 530 Private slot to show an error message.
531 531
532 @param msg error message to show (string) 532 @param msg error message to show (string)
533 """ 533 """
534 E5MessageBox.critical( 534 EricMessageBox.critical(
535 self, 535 self,
536 self.tr("Subversion Error"), 536 self.tr("Subversion Error"),
537 msg) 537 msg)
538 538
539 @pyqtSlot(QDate) 539 @pyqtSlot(QDate)

eric ide

mercurial