Plugins/VcsPlugins/vcsMercurial/TransplantExtension/ProjectHelper.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3023
34ce20603bf7
child 3060
5883ce99ee12
--- a/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/ProjectHelper.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/ProjectHelper.py	Fri Nov 01 15:48:48 2013 +0100
@@ -47,10 +47,11 @@
         """
         Public method to generate the action objects.
         """
-        self.hgTransplantAct = E5Action(self.trUtf8('Transplant Changesets'),
-                UI.PixmapCache.getIcon("vcsTransplant.png"),
-                self.trUtf8('Transplant Changesets'),
-                0, 0, self, 'mercurial_transplant')
+        self.hgTransplantAct = E5Action(
+            self.trUtf8('Transplant Changesets'),
+            UI.PixmapCache.getIcon("vcsTransplant.png"),
+            self.trUtf8('Transplant Changesets'),
+            0, 0, self, 'mercurial_transplant')
         self.hgTransplantAct.setStatusTip(self.trUtf8(
             'Transplant changesets from another branch'
         ))
@@ -115,7 +116,8 @@
         shouldReopen = self.vcs.getExtensionObject("transplant")\
             .hgTransplant(self.project.getProjectPath())
         if shouldReopen:
-            res = E5MessageBox.yesNo(None,
+            res = E5MessageBox.yesNo(
+                None,
                 self.trUtf8("Transplant Changesets"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 yesDefault=True)
@@ -129,7 +131,8 @@
         shouldReopen = self.vcs.getExtensionObject("transplant")\
             .hgTransplantContinue(self.project.getProjectPath())
         if shouldReopen:
-            res = E5MessageBox.yesNo(None,
+            res = E5MessageBox.yesNo(
+                None,
                 self.trUtf8("Transplant Changesets (Continue)"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 yesDefault=True)

eric ide

mercurial