Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

rename class FileDiffViewer to FileDiffDialog

Changeset e446aa77b5b5

Parent cb99808cbd69

by Adrian Buehlmann

Changes to 3 files · Browse files at e446aa77b5b5 Showing diff from parent cb99808cbd69 Diff from another changeset...

 
224
225
226
227
 
228
229
230
 
535
536
537
538
 
539
540
541
 
224
225
226
 
227
228
229
230
 
535
536
537
 
538
539
540
541
@@ -224,7 +224,7 @@
  self.actionNextDiff.setEnabled(self.textView.fileMode() and self.textView.nDiffs())     -class FileDiffViewer(AbstractFileDialog): +class FileDiffDialog(AbstractFileDialog):   """   Qt4 dialog to display diffs between different mercurial revisions of a file.   """ @@ -535,7 +535,7 @@
  app = QtGui.QApplication([])     if options.diff: - view = FileDiffViewer(repo, filename) + view = FileDiffDialog(repo, filename)   else:   view = FileLogDialog(repo, filename)   view.show()
 
38
39
40
41
 
42
43
44
 
549
550
551
552
 
553
554
555
 
38
39
40
 
41
42
43
44
 
549
550
551
 
552
553
554
555
@@ -38,7 +38,7 @@
 from tortoisehg.hgqt.config import HgConfig    from tortoisehg.hgqt import icon as geticon -from tortoisehg.hgqt.filedialog import FileLogDialog, FileDiffViewer +from tortoisehg.hgqt.filedialog import FileLogDialog, FileDiffDialog  from tortoisehg.hgqt.manifestdialog import ManifestViewer  from tortoisehg.hgqt.quickbar import QuickBar  from tortoisehg.hgqt.lexers import get_lexer @@ -549,7 +549,7 @@
  self._navigate(filename, FileLogDialog, self._nav_dialogs)     def diffNavigate(self, filename=None): - self._navigate(filename, FileDiffViewer, self._diff_dialogs) + self._navigate(filename, FileDiffDialog, self._diff_dialogs)     def _navigate(self, filename, dlgclass, dlgdict):   if filename is None:
 
25
26
27
28
 
29
30
31
 
25
26
27
 
28
29
30
31
@@ -25,7 +25,7 @@
   from tortoisehg.hgqt import icon as geticon  from tortoisehg.hgqt.repomodel import HgRepoListModel, HgFileListModel -from tortoisehg.hgqt.filedialog import FileLogDialog, FileDiffViewer +from tortoisehg.hgqt.filedialog import FileLogDialog, FileDiffDialog  from tortoisehg.hgqt.manifestdialog import ManifestViewer  from tortoisehg.hgqt.dialogmixin import HgDialogMixin  from tortoisehg.hgqt.quickbar import FindInGraphlogQuickBar