VCS/ProjectHelper.py

changeset 2409
df3820f08247
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 3013
fe886b7f8f40
--- a/VCS/ProjectHelper.py	Mon Feb 11 14:08:08 2013 +0100
+++ b/VCS/ProjectHelper.py	Mon Feb 11 18:13:10 2013 +0100
@@ -14,9 +14,6 @@
 from PyQt4.QtCore import QDir, QFileInfo, QObject
 from PyQt4.QtGui import QDialog, QInputDialog
 
-from .CommandOptionsDialog import vcsCommandOptionsDialog
-from .RepositoryInfoDialog import VcsRepositoryInfoDialog
-
 from E5Gui.E5Action import E5Action
 from E5Gui import E5MessageBox
 from E5Gui.E5Application import e5App
@@ -169,6 +166,7 @@
                     self.trUtf8("New Project"),
                     self.trUtf8("""Would you like to edit the VCS command options?"""))
                 if vcores:
+                    from .CommandOptionsDialog import vcsCommandOptionsDialog
                     codlg = vcsCommandOptionsDialog(self.project.vcs)
                     if codlg.exec_() == QDialog.Accepted:
                         self.project.vcs.vcsSetOptions(codlg.getOptions())
@@ -330,6 +328,7 @@
                     self.trUtf8("Import Project"),
                     self.trUtf8("""Would you like to edit the VCS command options?"""))
                 if vcores:
+                    from .CommandOptionsDialog import vcsCommandOptionsDialog
                     codlg = vcsCommandOptionsDialog(self.project.vcs)
                     if codlg.exec_() == QDialog.Accepted:
                         self.project.vcs.vcsSetOptions(codlg.getOptions())
@@ -396,6 +395,7 @@
         """
         Protected slot to edit the VCS command options.
         """
+        from .CommandOptionsDialog import vcsCommandOptionsDialog
         codlg = vcsCommandOptionsDialog(self.vcs)
         if codlg.exec_() == QDialog.Accepted:
             self.vcs.vcsSetOptions(codlg.getOptions())
@@ -466,6 +466,7 @@
         """
         Protected slot called to show some vcs information.
         """
+        from .RepositoryInfoDialog import VcsRepositoryInfoDialog
         info = self.vcs.vcsRepositoryInfos(self.project.ppath)
         dlg = VcsRepositoryInfoDialog(None, info)
         dlg.exec_()

eric ide

mercurial