Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3023
34ce20603bf7
child 3060
5883ce99ee12
diff -r 10516539f238 -r 0a02c433f52d Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py
--- a/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Fri Nov 01 15:48:48 2013 +0100
@@ -98,10 +98,11 @@
         """
         Public method to generate the action objects.
         """
-        self.vcsNewAct = E5Action(self.trUtf8('New from repository'),
-                UI.PixmapCache.getIcon("vcsCheckout.png"),
-                self.trUtf8('&New from repository...'), 0, 0,
-                self, 'mercurial_new')
+        self.vcsNewAct = E5Action(
+            self.trUtf8('New from repository'),
+            UI.PixmapCache.getIcon("vcsCheckout.png"),
+            self.trUtf8('&New from repository...'), 0, 0,
+            self, 'mercurial_new')
         self.vcsNewAct.setStatusTip(self.trUtf8(
             'Create (clone) a new project from a Mercurial repository'
         ))
@@ -113,10 +114,11 @@
         self.vcsNewAct.triggered[()].connect(self._vcsCheckout)
         self.actions.append(self.vcsNewAct)
         
-        self.hgIncomingAct = E5Action(self.trUtf8('Show incoming log'),
-                UI.PixmapCache.getIcon("vcsUpdate.png"),
-                self.trUtf8('Show incoming log'),
-                0, 0, self, 'mercurial_incoming')
+        self.hgIncomingAct = E5Action(
+            self.trUtf8('Show incoming log'),
+            UI.PixmapCache.getIcon("vcsUpdate.png"),
+            self.trUtf8('Show incoming log'),
+            0, 0, self, 'mercurial_incoming')
         self.hgIncomingAct.setStatusTip(self.trUtf8(
             'Show the log of incoming changes'
         ))
@@ -128,10 +130,11 @@
         self.hgIncomingAct.triggered[()].connect(self.__hgIncoming)
         self.actions.append(self.hgIncomingAct)
         
-        self.hgPullAct = E5Action(self.trUtf8('Pull changes'),
-                UI.PixmapCache.getIcon("vcsUpdate.png"),
-                self.trUtf8('Pull changes'),
-                0, 0, self, 'mercurial_pull')
+        self.hgPullAct = E5Action(
+            self.trUtf8('Pull changes'),
+            UI.PixmapCache.getIcon("vcsUpdate.png"),
+            self.trUtf8('Pull changes'),
+            0, 0, self, 'mercurial_pull')
         self.hgPullAct.setStatusTip(self.trUtf8(
             'Pull changes from a remote repository'
         ))
@@ -143,10 +146,11 @@
         self.hgPullAct.triggered[()].connect(self.__hgPull)
         self.actions.append(self.hgPullAct)
         
-        self.vcsUpdateAct = E5Action(self.trUtf8('Update from repository'),
-                UI.PixmapCache.getIcon("vcsUpdate.png"),
-                self.trUtf8('&Update from repository'), 0, 0, self,
-                'mercurial_update')
+        self.vcsUpdateAct = E5Action(
+            self.trUtf8('Update from repository'),
+            UI.PixmapCache.getIcon("vcsUpdate.png"),
+            self.trUtf8('&Update from repository'), 0, 0, self,
+            'mercurial_update')
         self.vcsUpdateAct.setStatusTip(self.trUtf8(
             'Update the local project from the Mercurial repository'
         ))
@@ -174,10 +178,11 @@
         self.vcsCommitAct.triggered[()].connect(self._vcsCommit)
         self.actions.append(self.vcsCommitAct)
         
-        self.hgOutgoingAct = E5Action(self.trUtf8('Show outgoing log'),
-                UI.PixmapCache.getIcon("vcsCommit.png"),
-                self.trUtf8('Show outgoing log'),
-                0, 0, self, 'mercurial_outgoing')
+        self.hgOutgoingAct = E5Action(
+            self.trUtf8('Show outgoing log'),
+            UI.PixmapCache.getIcon("vcsCommit.png"),
+            self.trUtf8('Show outgoing log'),
+            0, 0, self, 'mercurial_outgoing')
         self.hgOutgoingAct.setStatusTip(self.trUtf8(
             'Show the log of outgoing changes'
         ))
@@ -189,10 +194,11 @@
         self.hgOutgoingAct.triggered[()].connect(self.__hgOutgoing)
         self.actions.append(self.hgOutgoingAct)
         
-        self.hgPushAct = E5Action(self.trUtf8('Push changes'),
-                UI.PixmapCache.getIcon("vcsCommit.png"),
-                self.trUtf8('Push changes'),
-                0, 0, self, 'mercurial_push')
+        self.hgPushAct = E5Action(
+            self.trUtf8('Push changes'),
+            UI.PixmapCache.getIcon("vcsCommit.png"),
+            self.trUtf8('Push changes'),
+            0, 0, self, 'mercurial_push')
         self.hgPushAct.setStatusTip(self.trUtf8(
             'Push changes to a remote repository'
         ))
@@ -204,10 +210,11 @@
         self.hgPushAct.triggered[()].connect(self.__hgPush)
         self.actions.append(self.hgPushAct)
         
-        self.hgPushForcedAct = E5Action(self.trUtf8('Push changes (force)'),
-                UI.PixmapCache.getIcon("vcsCommit.png"),
-                self.trUtf8('Push changes (force)'),
-                0, 0, self, 'mercurial_push_forced')
+        self.hgPushForcedAct = E5Action(
+            self.trUtf8('Push changes (force)'),
+            UI.PixmapCache.getIcon("vcsCommit.png"),
+            self.trUtf8('Push changes (force)'),
+            0, 0, self, 'mercurial_push_forced')
         self.hgPushForcedAct.setStatusTip(self.trUtf8(
             'Push changes to a remote repository with force option'
         ))
@@ -219,10 +226,11 @@
         self.hgPushForcedAct.triggered[()].connect(self.__hgPushForced)
         self.actions.append(self.hgPushForcedAct)
         
-        self.vcsExportAct = E5Action(self.trUtf8('Export from repository'),
-                UI.PixmapCache.getIcon("vcsExport.png"),
-                self.trUtf8('&Export from repository...'),
-                0, 0, self, 'mercurial_export_repo')
+        self.vcsExportAct = E5Action(
+            self.trUtf8('Export from repository'),
+            UI.PixmapCache.getIcon("vcsExport.png"),
+            self.trUtf8('&Export from repository...'),
+            0, 0, self, 'mercurial_export_repo')
         self.vcsExportAct.setStatusTip(self.trUtf8(
             'Export a project from the repository'
         ))
@@ -233,10 +241,11 @@
         self.vcsExportAct.triggered[()].connect(self._vcsExport)
         self.actions.append(self.vcsExportAct)
         
-        self.vcsLogAct = E5Action(self.trUtf8('Show log'),
-                UI.PixmapCache.getIcon("vcsLog.png"),
-                self.trUtf8('Show &log'),
-                0, 0, self, 'mercurial_log')
+        self.vcsLogAct = E5Action(
+            self.trUtf8('Show log'),
+            UI.PixmapCache.getIcon("vcsLog.png"),
+            self.trUtf8('Show &log'),
+            0, 0, self, 'mercurial_log')
         self.vcsLogAct.setStatusTip(self.trUtf8(
             'Show the log of the local project'
         ))
@@ -247,10 +256,11 @@
         self.vcsLogAct.triggered[()].connect(self._vcsLog)
         self.actions.append(self.vcsLogAct)
         
-        self.hgLogBrowserAct = E5Action(self.trUtf8('Show log browser'),
-                UI.PixmapCache.getIcon("vcsLog.png"),
-                self.trUtf8('Show log browser'),
-                0, 0, self, 'mercurial_log_browser')
+        self.hgLogBrowserAct = E5Action(
+            self.trUtf8('Show log browser'),
+            UI.PixmapCache.getIcon("vcsLog.png"),
+            self.trUtf8('Show log browser'),
+            0, 0, self, 'mercurial_log_browser')
         self.hgLogBrowserAct.setStatusTip(self.trUtf8(
             'Show a dialog to browse the log of the local project'
         ))
@@ -263,10 +273,11 @@
         self.hgLogBrowserAct.triggered[()].connect(self.__hgLogBrowser)
         self.actions.append(self.hgLogBrowserAct)
         
-        self.vcsDiffAct = E5Action(self.trUtf8('Show difference'),
-                UI.PixmapCache.getIcon("vcsDiff.png"),
-                self.trUtf8('Show &difference'),
-                0, 0, self, 'mercurial_diff')
+        self.vcsDiffAct = E5Action(
+            self.trUtf8('Show difference'),
+            UI.PixmapCache.getIcon("vcsDiff.png"),
+            self.trUtf8('Show &difference'),
+            0, 0, self, 'mercurial_diff')
         self.vcsDiffAct.setStatusTip(self.trUtf8(
             'Show the difference of the local project to the repository'
         ))
@@ -278,10 +289,11 @@
         self.vcsDiffAct.triggered[()].connect(self._vcsDiff)
         self.actions.append(self.vcsDiffAct)
         
-        self.hgExtDiffAct = E5Action(self.trUtf8('Show difference (extended)'),
-                UI.PixmapCache.getIcon("vcsDiff.png"),
-                self.trUtf8('Show difference (extended)'),
-                0, 0, self, 'mercurial_extendeddiff')
+        self.hgExtDiffAct = E5Action(
+            self.trUtf8('Show difference (extended)'),
+            UI.PixmapCache.getIcon("vcsDiff.png"),
+            self.trUtf8('Show difference (extended)'),
+            0, 0, self, 'mercurial_extendeddiff')
         self.hgExtDiffAct.setStatusTip(self.trUtf8(
             'Show the difference of revisions of the project to the repository'
         ))
@@ -293,10 +305,11 @@
         self.hgExtDiffAct.triggered[()].connect(self.__hgExtendedDiff)
         self.actions.append(self.hgExtDiffAct)
         
-        self.vcsStatusAct = E5Action(self.trUtf8('Show status'),
-                UI.PixmapCache.getIcon("vcsStatus.png"),
-                self.trUtf8('Show &status...'),
-                0, 0, self, 'mercurial_status')
+        self.vcsStatusAct = E5Action(
+            self.trUtf8('Show status'),
+            UI.PixmapCache.getIcon("vcsStatus.png"),
+            self.trUtf8('Show &status...'),
+            0, 0, self, 'mercurial_status')
         self.vcsStatusAct.setStatusTip(self.trUtf8(
             'Show the status of the local project'
         ))
@@ -323,9 +336,10 @@
         self.hgSummaryAct.triggered[()].connect(self.__hgSummary)
         self.actions.append(self.hgSummaryAct)
         
-        self.hgHeadsAct = E5Action(self.trUtf8('Show heads'),
-                self.trUtf8('Show heads'),
-                0, 0, self, 'mercurial_heads')
+        self.hgHeadsAct = E5Action(
+            self.trUtf8('Show heads'),
+            self.trUtf8('Show heads'),
+            0, 0, self, 'mercurial_heads')
         self.hgHeadsAct.setStatusTip(self.trUtf8(
             'Show the heads of the repository'
         ))
@@ -336,9 +350,10 @@
         self.hgHeadsAct.triggered[()].connect(self.__hgHeads)
         self.actions.append(self.hgHeadsAct)
         
-        self.hgParentsAct = E5Action(self.trUtf8('Show parents'),
-                self.trUtf8('Show parents'),
-                0, 0, self, 'mercurial_parents')
+        self.hgParentsAct = E5Action(
+            self.trUtf8('Show parents'),
+            self.trUtf8('Show parents'),
+            0, 0, self, 'mercurial_parents')
         self.hgParentsAct.setStatusTip(self.trUtf8(
             'Show the parents of the repository'
         ))
@@ -349,9 +364,10 @@
         self.hgParentsAct.triggered[()].connect(self.__hgParents)
         self.actions.append(self.hgParentsAct)
         
-        self.hgTipAct = E5Action(self.trUtf8('Show tip'),
-                self.trUtf8('Show tip'),
-                0, 0, self, 'mercurial_tip')
+        self.hgTipAct = E5Action(
+            self.trUtf8('Show tip'),
+            self.trUtf8('Show tip'),
+            0, 0, self, 'mercurial_tip')
         self.hgTipAct.setStatusTip(self.trUtf8(
             'Show the tip of the repository'
         ))
@@ -362,10 +378,11 @@
         self.hgTipAct.triggered[()].connect(self.__hgTip)
         self.actions.append(self.hgTipAct)
         
-        self.vcsRevertAct = E5Action(self.trUtf8('Revert changes'),
-                UI.PixmapCache.getIcon("vcsRevert.png"),
-                self.trUtf8('Re&vert changes'),
-                0, 0, self, 'mercurial_revert')
+        self.vcsRevertAct = E5Action(
+            self.trUtf8('Revert changes'),
+            UI.PixmapCache.getIcon("vcsRevert.png"),
+            self.trUtf8('Re&vert changes'),
+            0, 0, self, 'mercurial_revert')
         self.vcsRevertAct.setStatusTip(self.trUtf8(
             'Revert all changes made to the local project'
         ))
@@ -376,10 +393,11 @@
         self.vcsRevertAct.triggered[()].connect(self.__hgRevert)
         self.actions.append(self.vcsRevertAct)
         
-        self.vcsMergeAct = E5Action(self.trUtf8('Merge'),
-                UI.PixmapCache.getIcon("vcsMerge.png"),
-                self.trUtf8('Mer&ge changes...'),
-                0, 0, self, 'mercurial_merge')
+        self.vcsMergeAct = E5Action(
+            self.trUtf8('Merge'),
+            UI.PixmapCache.getIcon("vcsMerge.png"),
+            self.trUtf8('Mer&ge changes...'),
+            0, 0, self, 'mercurial_merge')
         self.vcsMergeAct.setStatusTip(self.trUtf8(
             'Merge changes of a revision into the local project'
         ))
@@ -391,9 +409,10 @@
         self.vcsMergeAct.triggered[()].connect(self._vcsMerge)
         self.actions.append(self.vcsMergeAct)
         
-        self.vcsResolveAct = E5Action(self.trUtf8('Conflicts resolved'),
-                self.trUtf8('Con&flicts resolved'),
-                0, 0, self, 'mercurial_resolve')
+        self.vcsResolveAct = E5Action(
+            self.trUtf8('Conflicts resolved'),
+            self.trUtf8('Con&flicts resolved'),
+            0, 0, self, 'mercurial_resolve')
         self.vcsResolveAct.setStatusTip(self.trUtf8(
             'Mark all conflicts of the local project as resolved'
         ))
@@ -405,10 +424,11 @@
         self.vcsResolveAct.triggered[()].connect(self.__hgResolve)
         self.actions.append(self.vcsResolveAct)
         
-        self.vcsTagAct = E5Action(self.trUtf8('Tag in repository'),
-                UI.PixmapCache.getIcon("vcsTag.png"),
-                self.trUtf8('&Tag in repository...'),
-                0, 0, self, 'mercurial_tag')
+        self.vcsTagAct = E5Action(
+            self.trUtf8('Tag in repository'),
+            UI.PixmapCache.getIcon("vcsTag.png"),
+            self.trUtf8('&Tag in repository...'),
+            0, 0, self, 'mercurial_tag')
         self.vcsTagAct.setStatusTip(self.trUtf8(
             'Tag the local project in the repository'
         ))
@@ -419,9 +439,10 @@
         self.vcsTagAct.triggered[()].connect(self._vcsTag)
         self.actions.append(self.vcsTagAct)
         
-        self.hgTagListAct = E5Action(self.trUtf8('List tags'),
-                self.trUtf8('List tags...'),
-                0, 0, self, 'mercurial_list_tags')
+        self.hgTagListAct = E5Action(
+            self.trUtf8('List tags'),
+            self.trUtf8('List tags...'),
+            0, 0, self, 'mercurial_list_tags')
         self.hgTagListAct.setStatusTip(self.trUtf8(
             'List tags of the project'
         ))
@@ -432,9 +453,10 @@
         self.hgTagListAct.triggered[()].connect(self.__hgTagList)
         self.actions.append(self.hgTagListAct)
         
-        self.hgBranchListAct = E5Action(self.trUtf8('List branches'),
-                self.trUtf8('List branches...'),
-                0, 0, self, 'mercurial_list_branches')
+        self.hgBranchListAct = E5Action(
+            self.trUtf8('List branches'),
+            self.trUtf8('List branches...'),
+            0, 0, self, 'mercurial_list_branches')
         self.hgBranchListAct.setStatusTip(self.trUtf8(
             'List branches of the project'
         ))
@@ -445,10 +467,11 @@
         self.hgBranchListAct.triggered[()].connect(self.__hgBranchList)
         self.actions.append(self.hgBranchListAct)
         
-        self.hgBranchAct = E5Action(self.trUtf8('Create branch'),
-                UI.PixmapCache.getIcon("vcsBranch.png"),
-                self.trUtf8('Create &branch...'),
-                0, 0, self, 'mercurial_branch')
+        self.hgBranchAct = E5Action(
+            self.trUtf8('Create branch'),
+            UI.PixmapCache.getIcon("vcsBranch.png"),
+            self.trUtf8('Create &branch...'),
+            0, 0, self, 'mercurial_branch')
         self.hgBranchAct.setStatusTip(self.trUtf8(
             'Create a new branch for the local project in the repository'
         ))
@@ -460,9 +483,10 @@
         self.hgBranchAct.triggered[()].connect(self.__hgBranch)
         self.actions.append(self.hgBranchAct)
         
-        self.hgPushBranchAct = E5Action(self.trUtf8('Push new branch'),
-                self.trUtf8('Push new branch'),
-                0, 0, self, 'mercurial_push_branch')
+        self.hgPushBranchAct = E5Action(
+            self.trUtf8('Push new branch'),
+            self.trUtf8('Push new branch'),
+            0, 0, self, 'mercurial_push_branch')
         self.hgPushBranchAct.setStatusTip(self.trUtf8(
             'Push the current branch of the local project as a new named'
             ' branch'
@@ -475,9 +499,10 @@
         self.hgPushBranchAct.triggered[()].connect(self.__hgPushNewBranch)
         self.actions.append(self.hgPushBranchAct)
         
-        self.hgCloseBranchAct = E5Action(self.trUtf8('Close branch'),
-                self.trUtf8('Close branch'),
-                0, 0, self, 'mercurial_close_branch')
+        self.hgCloseBranchAct = E5Action(
+            self.trUtf8('Close branch'),
+            self.trUtf8('Close branch'),
+            0, 0, self, 'mercurial_close_branch')
         self.hgCloseBranchAct.setStatusTip(self.trUtf8(
             'Close the current branch of the local project'
         ))
@@ -488,9 +513,10 @@
         self.hgCloseBranchAct.triggered[()].connect(self.__hgCloseBranch)
         self.actions.append(self.hgCloseBranchAct)
         
-        self.hgShowBranchAct = E5Action(self.trUtf8('Show current branch'),
-                self.trUtf8('Show current branch'),
-                0, 0, self, 'mercurial_show_branch')
+        self.hgShowBranchAct = E5Action(
+            self.trUtf8('Show current branch'),
+            self.trUtf8('Show current branch'),
+            0, 0, self, 'mercurial_show_branch')
         self.hgShowBranchAct.setStatusTip(self.trUtf8(
             'Show the current branch of the project'
         ))
@@ -501,10 +527,11 @@
         self.hgShowBranchAct.triggered[()].connect(self.__hgShowBranch)
         self.actions.append(self.hgShowBranchAct)
         
-        self.vcsSwitchAct = E5Action(self.trUtf8('Switch'),
-                UI.PixmapCache.getIcon("vcsSwitch.png"),
-                self.trUtf8('S&witch...'),
-                0, 0, self, 'mercurial_switch')
+        self.vcsSwitchAct = E5Action(
+            self.trUtf8('Switch'),
+            UI.PixmapCache.getIcon("vcsSwitch.png"),
+            self.trUtf8('S&witch...'),
+            0, 0, self, 'mercurial_switch')
         self.vcsSwitchAct.setStatusTip(self.trUtf8(
             'Switch the working directory to another revision'
         ))
@@ -516,9 +543,10 @@
         self.vcsSwitchAct.triggered[()].connect(self._vcsSwitch)
         self.actions.append(self.vcsSwitchAct)
         
-        self.vcsCleanupAct = E5Action(self.trUtf8('Cleanup'),
-                self.trUtf8('Cleanu&p'),
-                0, 0, self, 'mercurial_cleanup')
+        self.vcsCleanupAct = E5Action(
+            self.trUtf8('Cleanup'),
+            self.trUtf8('Cleanu&p'),
+            0, 0, self, 'mercurial_cleanup')
         self.vcsCleanupAct.setStatusTip(self.trUtf8(
             'Cleanup the local project'
         ))
@@ -529,9 +557,10 @@
         self.vcsCleanupAct.triggered[()].connect(self._vcsCleanup)
         self.actions.append(self.vcsCleanupAct)
         
-        self.vcsCommandAct = E5Action(self.trUtf8('Execute command'),
-                self.trUtf8('E&xecute command...'),
-                0, 0, self, 'mercurial_command')
+        self.vcsCommandAct = E5Action(
+            self.trUtf8('Execute command'),
+            self.trUtf8('E&xecute command...'),
+            0, 0, self, 'mercurial_command')
         self.vcsCommandAct.setStatusTip(self.trUtf8(
             'Execute an arbitrary Mercurial command'
         ))
@@ -543,9 +572,10 @@
         self.vcsCommandAct.triggered[()].connect(self._vcsCommand)
         self.actions.append(self.vcsCommandAct)
         
-        self.vcsPropsAct = E5Action(self.trUtf8('Command options'),
-                self.trUtf8('Command &options...'), 0, 0, self,
-                'mercurial_options')
+        self.vcsPropsAct = E5Action(
+            self.trUtf8('Command options'),
+            self.trUtf8('Command &options...'), 0, 0, self,
+            'mercurial_options')
         self.vcsPropsAct.setStatusTip(self.trUtf8(
             'Show the Mercurial command options'))
         self.vcsPropsAct.setWhatsThis(self.trUtf8(
@@ -556,9 +586,10 @@
         self.vcsPropsAct.triggered[()].connect(self._vcsCommandOptions)
         self.actions.append(self.vcsPropsAct)
         
-        self.hgConfigAct = E5Action(self.trUtf8('Configure'),
-                self.trUtf8('Configure...'),
-                0, 0, self, 'mercurial_configure')
+        self.hgConfigAct = E5Action(
+            self.trUtf8('Configure'),
+            self.trUtf8('Configure...'),
+            0, 0, self, 'mercurial_configure')
         self.hgConfigAct.setStatusTip(self.trUtf8(
             'Show the configuration dialog with the Mercurial page selected'
         ))
@@ -600,9 +631,9 @@
         self.actions.append(self.hgRepoConfigAct)
         
         self.hgShowConfigAct = E5Action(
-                self.trUtf8('Show combined configuration settings'),
-                self.trUtf8('Show combined configuration settings...'),
-                0, 0, self, 'mercurial_show_config')
+            self.trUtf8('Show combined configuration settings'),
+            self.trUtf8('Show combined configuration settings...'),
+            0, 0, self, 'mercurial_show_config')
         self.hgShowConfigAct.setStatusTip(self.trUtf8(
             'Show the combined configuration settings from all configuration'
             ' files'
@@ -615,9 +646,10 @@
         self.hgShowConfigAct.triggered[()].connect(self.__hgShowConfig)
         self.actions.append(self.hgShowConfigAct)
         
-        self.hgShowPathsAct = E5Action(self.trUtf8('Show paths'),
-                self.trUtf8('Show paths...'),
-                0, 0, self, 'mercurial_show_paths')
+        self.hgShowPathsAct = E5Action(
+            self.trUtf8('Show paths'),
+            self.trUtf8('Show paths...'),
+            0, 0, self, 'mercurial_show_paths')
         self.hgShowPathsAct.setStatusTip(self.trUtf8(
             'Show the aliases for remote repositories'
         ))
@@ -628,9 +660,10 @@
         self.hgShowPathsAct.triggered[()].connect(self.__hgShowPaths)
         self.actions.append(self.hgShowPathsAct)
         
-        self.hgVerifyAct = E5Action(self.trUtf8('Verify repository'),
-                self.trUtf8('Verify repository...'),
-                0, 0, self, 'mercurial_verify')
+        self.hgVerifyAct = E5Action(
+            self.trUtf8('Verify repository'),
+            self.trUtf8('Verify repository...'),
+            0, 0, self, 'mercurial_verify')
         self.hgVerifyAct.setStatusTip(self.trUtf8(
             'Verify the integrity of the repository'
         ))
@@ -641,9 +674,10 @@
         self.hgVerifyAct.triggered[()].connect(self.__hgVerify)
         self.actions.append(self.hgVerifyAct)
         
-        self.hgRecoverAct = E5Action(self.trUtf8('Recover'),
-                self.trUtf8('Recover...'),
-                0, 0, self, 'mercurial_recover')
+        self.hgRecoverAct = E5Action(
+            self.trUtf8('Recover'),
+            self.trUtf8('Recover...'),
+            0, 0, self, 'mercurial_recover')
         self.hgRecoverAct.setStatusTip(self.trUtf8(
             'Recover from an interrupted transaction'
         ))
@@ -654,9 +688,10 @@
         self.hgRecoverAct.triggered[()].connect(self.__hgRecover)
         self.actions.append(self.hgRecoverAct)
         
-        self.hgIdentifyAct = E5Action(self.trUtf8('Identify'),
-                self.trUtf8('Identify...'),
-                0, 0, self, 'mercurial_identify')
+        self.hgIdentifyAct = E5Action(
+            self.trUtf8('Identify'),
+            self.trUtf8('Identify...'),
+            0, 0, self, 'mercurial_identify')
         self.hgIdentifyAct.setStatusTip(self.trUtf8(
             'Identify the project directory'
         ))
@@ -667,9 +702,10 @@
         self.hgIdentifyAct.triggered[()].connect(self.__hgIdentify)
         self.actions.append(self.hgIdentifyAct)
         
-        self.hgCreateIgnoreAct = E5Action(self.trUtf8('Create .hgignore'),
-                self.trUtf8('Create .hgignore'),
-                0, 0, self, 'mercurial_create ignore')
+        self.hgCreateIgnoreAct = E5Action(
+            self.trUtf8('Create .hgignore'),
+            self.trUtf8('Create .hgignore'),
+            0, 0, self, 'mercurial_create ignore')
         self.hgCreateIgnoreAct.setStatusTip(self.trUtf8(
             'Create a .hgignore file with default values'
         ))
@@ -680,9 +716,10 @@
         self.hgCreateIgnoreAct.triggered[()].connect(self.__hgCreateIgnore)
         self.actions.append(self.hgCreateIgnoreAct)
         
-        self.hgBundleAct = E5Action(self.trUtf8('Create changegroup'),
-                self.trUtf8('Create changegroup...'),
-                0, 0, self, 'mercurial_bundle')
+        self.hgBundleAct = E5Action(
+            self.trUtf8('Create changegroup'),
+            self.trUtf8('Create changegroup...'),
+            0, 0, self, 'mercurial_bundle')
         self.hgBundleAct.setStatusTip(self.trUtf8(
             'Create changegroup file collecting changesets'
         ))
@@ -694,9 +731,10 @@
         self.hgBundleAct.triggered[()].connect(self.__hgBundle)
         self.actions.append(self.hgBundleAct)
         
-        self.hgPreviewBundleAct = E5Action(self.trUtf8('Preview changegroup'),
-                self.trUtf8('Preview changegroup...'),
-                0, 0, self, 'mercurial_preview_bundle')
+        self.hgPreviewBundleAct = E5Action(
+            self.trUtf8('Preview changegroup'),
+            self.trUtf8('Preview changegroup...'),
+            0, 0, self, 'mercurial_preview_bundle')
         self.hgPreviewBundleAct.setStatusTip(self.trUtf8(
             'Preview a changegroup file containing a collection of changesets'
         ))
@@ -723,9 +761,10 @@
         self.hgIdentifyBundleAct.triggered[()].connect(self.__hgIdentifyBundle)
         self.actions.append(self.hgIdentifyBundleAct)
         
-        self.hgUnbundleAct = E5Action(self.trUtf8('Apply changegroups'),
-                self.trUtf8('Apply changegroups...'),
-                0, 0, self, 'mercurial_unbundle')
+        self.hgUnbundleAct = E5Action(
+            self.trUtf8('Apply changegroups'),
+            self.trUtf8('Apply changegroups...'),
+            0, 0, self, 'mercurial_unbundle')
         self.hgUnbundleAct.setStatusTip(self.trUtf8(
             'Apply one or several changegroup files'
         ))
@@ -737,9 +776,10 @@
         self.hgUnbundleAct.triggered[()].connect(self.__hgUnbundle)
         self.actions.append(self.hgUnbundleAct)
         
-        self.hgBisectGoodAct = E5Action(self.trUtf8('Mark as "good"'),
-                self.trUtf8('Mark as "good"...'),
-                0, 0, self, 'mercurial_bisect_good')
+        self.hgBisectGoodAct = E5Action(
+            self.trUtf8('Mark as "good"'),
+            self.trUtf8('Mark as "good"...'),
+            0, 0, self, 'mercurial_bisect_good')
         self.hgBisectGoodAct.setStatusTip(self.trUtf8(
             'Mark a selectable changeset as good'
         ))
@@ -750,9 +790,10 @@
         self.hgBisectGoodAct.triggered[()].connect(self.__hgBisectGood)
         self.actions.append(self.hgBisectGoodAct)
         
-        self.hgBisectBadAct = E5Action(self.trUtf8('Mark as "bad"'),
-                self.trUtf8('Mark as "bad"...'),
-                0, 0, self, 'mercurial_bisect_bad')
+        self.hgBisectBadAct = E5Action(
+            self.trUtf8('Mark as "bad"'),
+            self.trUtf8('Mark as "bad"...'),
+            0, 0, self, 'mercurial_bisect_bad')
         self.hgBisectBadAct.setStatusTip(self.trUtf8(
             'Mark a selectable changeset as bad'
         ))
@@ -763,9 +804,10 @@
         self.hgBisectBadAct.triggered[()].connect(self.__hgBisectBad)
         self.actions.append(self.hgBisectBadAct)
         
-        self.hgBisectSkipAct = E5Action(self.trUtf8('Skip'),
-                self.trUtf8('Skip...'),
-                0, 0, self, 'mercurial_bisect_skip')
+        self.hgBisectSkipAct = E5Action(
+            self.trUtf8('Skip'),
+            self.trUtf8('Skip...'),
+            0, 0, self, 'mercurial_bisect_skip')
         self.hgBisectSkipAct.setStatusTip(self.trUtf8(
             'Skip a selectable changeset'
         ))
@@ -776,9 +818,10 @@
         self.hgBisectSkipAct.triggered[()].connect(self.__hgBisectSkip)
         self.actions.append(self.hgBisectSkipAct)
         
-        self.hgBisectResetAct = E5Action(self.trUtf8('Reset'),
-                self.trUtf8('Reset'),
-                0, 0, self, 'mercurial_bisect_reset')
+        self.hgBisectResetAct = E5Action(
+            self.trUtf8('Reset'),
+            self.trUtf8('Reset'),
+            0, 0, self, 'mercurial_bisect_reset')
         self.hgBisectResetAct.setStatusTip(self.trUtf8(
             'Reset the bisect search data'
         ))
@@ -789,9 +832,10 @@
         self.hgBisectResetAct.triggered[()].connect(self.__hgBisectReset)
         self.actions.append(self.hgBisectResetAct)
         
-        self.hgBackoutAct = E5Action(self.trUtf8('Back out changeset'),
-                self.trUtf8('Back out changeset'),
-                0, 0, self, 'mercurial_backout')
+        self.hgBackoutAct = E5Action(
+            self.trUtf8('Back out changeset'),
+            self.trUtf8('Back out changeset'),
+            0, 0, self, 'mercurial_backout')
         self.hgBackoutAct.setStatusTip(self.trUtf8(
             'Back out changes of an earlier changeset'
         ))
@@ -802,9 +846,10 @@
         self.hgBackoutAct.triggered[()].connect(self.__hgBackout)
         self.actions.append(self.hgBackoutAct)
         
-        self.hgRollbackAct = E5Action(self.trUtf8('Rollback last transaction'),
-                self.trUtf8('Rollback last transaction'),
-                0, 0, self, 'mercurial_rollback')
+        self.hgRollbackAct = E5Action(
+            self.trUtf8('Rollback last transaction'),
+            self.trUtf8('Rollback last transaction'),
+            0, 0, self, 'mercurial_rollback')
         self.hgRollbackAct.setStatusTip(self.trUtf8(
             'Rollback the last transaction'
         ))
@@ -828,9 +873,10 @@
         self.hgRollbackAct.triggered[()].connect(self.__hgRollback)
         self.actions.append(self.hgRollbackAct)
         
-        self.hgServeAct = E5Action(self.trUtf8('Serve project repository'),
-                self.trUtf8('Serve project repository...'),
-                0, 0, self, 'mercurial_serve')
+        self.hgServeAct = E5Action(
+            self.trUtf8('Serve project repository'),
+            self.trUtf8('Serve project repository...'),
+            0, 0, self, 'mercurial_serve')
         self.hgServeAct.setStatusTip(self.trUtf8(
             'Serve the project repository'
         ))
@@ -841,9 +887,10 @@
         self.hgServeAct.triggered[()].connect(self.__hgServe)
         self.actions.append(self.hgServeAct)
         
-        self.hgImportAct = E5Action(self.trUtf8('Import Patch'),
-                self.trUtf8('Import Patch...'),
-                0, 0, self, 'mercurial_import')
+        self.hgImportAct = E5Action(
+            self.trUtf8('Import Patch'),
+            self.trUtf8('Import Patch...'),
+            0, 0, self, 'mercurial_import')
         self.hgImportAct.setStatusTip(self.trUtf8(
             'Import a patch from a patch file'
         ))
@@ -855,9 +902,10 @@
         self.hgImportAct.triggered[()].connect(self.__hgImport)
         self.actions.append(self.hgImportAct)
         
-        self.hgExportAct = E5Action(self.trUtf8('Export Patches'),
-                self.trUtf8('Export Patches...'),
-                0, 0, self, 'mercurial_export')
+        self.hgExportAct = E5Action(
+            self.trUtf8('Export Patches'),
+            self.trUtf8('Export Patches...'),
+            0, 0, self, 'mercurial_export')
         self.hgExportAct.setStatusTip(self.trUtf8(
             'Export revisions to patch files'
         ))
@@ -868,9 +916,10 @@
         self.hgExportAct.triggered[()].connect(self.__hgExport)
         self.actions.append(self.hgExportAct)
         
-        self.hgPhaseAct = E5Action(self.trUtf8('Change Phase'),
-                self.trUtf8('Change Phase...'),
-                0, 0, self, 'mercurial_change_phase')
+        self.hgPhaseAct = E5Action(
+            self.trUtf8('Change Phase'),
+            self.trUtf8('Change Phase...'),
+            0, 0, self, 'mercurial_change_phase')
         self.hgPhaseAct.setStatusTip(self.trUtf8(
             'Change the phase of revisions'
         ))
@@ -881,10 +930,11 @@
         self.hgPhaseAct.triggered[()].connect(self.__hgPhase)
         self.actions.append(self.hgPhaseAct)
         
-        self.hgGraftAct = E5Action(self.trUtf8('Copy Changesets'),
-                UI.PixmapCache.getIcon("vcsGraft.png"),
-                self.trUtf8('Copy Changesets'),
-                0, 0, self, 'mercurial_graft')
+        self.hgGraftAct = E5Action(
+            self.trUtf8('Copy Changesets'),
+            UI.PixmapCache.getIcon("vcsGraft.png"),
+            self.trUtf8('Copy Changesets'),
+            0, 0, self, 'mercurial_graft')
         self.hgGraftAct.setStatusTip(self.trUtf8(
             'Copies changesets from another branch'
         ))
@@ -898,9 +948,9 @@
         self.actions.append(self.hgGraftAct)
         
         self.hgGraftContinueAct = E5Action(
-                self.trUtf8('Continue Copying Session'),
-                self.trUtf8('Continue Copying Session'),
-                0, 0, self, 'mercurial_graft_continue')
+            self.trUtf8('Continue Copying Session'),
+            self.trUtf8('Continue Copying Session'),
+            0, 0, self, 'mercurial_graft_continue')
         self.hgGraftContinueAct.setStatusTip(self.trUtf8(
             'Continue the last copying session after conflicts were resolved'
         ))
@@ -913,10 +963,10 @@
         self.actions.append(self.hgGraftContinueAct)
         
         self.hgAddSubrepoAct = E5Action(
-                self.trUtf8('Add'),
-                UI.PixmapCache.getIcon("vcsAdd.png"),
-                self.trUtf8('Add...'),
-                0, 0, self, 'mercurial_add_subrepo')
+            self.trUtf8('Add'),
+            UI.PixmapCache.getIcon("vcsAdd.png"),
+            self.trUtf8('Add...'),
+            0, 0, self, 'mercurial_add_subrepo')
         self.hgAddSubrepoAct.setStatusTip(self.trUtf8(
             'Add a sub-repository'
         ))
@@ -928,10 +978,10 @@
         self.actions.append(self.hgAddSubrepoAct)
         
         self.hgRemoveSubreposAct = E5Action(
-                self.trUtf8('Remove'),
-                UI.PixmapCache.getIcon("vcsRemove.png"),
-                self.trUtf8('Remove...'),
-                0, 0, self, 'mercurial_remove_subrepos')
+            self.trUtf8('Remove'),
+            UI.PixmapCache.getIcon("vcsRemove.png"),
+            self.trUtf8('Remove...'),
+            0, 0, self, 'mercurial_remove_subrepos')
         self.hgRemoveSubreposAct.setStatusTip(self.trUtf8(
             'Remove sub-repositories'
         ))
@@ -943,10 +993,11 @@
             self.__hgRemoveSubrepositories)
         self.actions.append(self.hgRemoveSubreposAct)
         
-        self.hgArchiveAct = E5Action(self.trUtf8('Create unversioned archive'),
-                UI.PixmapCache.getIcon("vcsExport.png"),
-                self.trUtf8('Create unversioned archive...'),
-                0, 0, self, 'mercurial_archive')
+        self.hgArchiveAct = E5Action(
+            self.trUtf8('Create unversioned archive'),
+            UI.PixmapCache.getIcon("vcsExport.png"),
+            self.trUtf8('Create unversioned archive...'),
+            0, 0, self, 'mercurial_archive')
         self.hgArchiveAct.setStatusTip(self.trUtf8(
             'Create an unversioned archive from the repository'
         ))
@@ -1186,7 +1237,8 @@
         """
         shouldReopen = self.vcs.hgPull(self.project.ppath)
         if shouldReopen:
-            res = E5MessageBox.yesNo(self.parent(),
+            res = E5MessageBox.yesNo(
+                self.parent(),
                 self.trUtf8("Pull"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 yesDefault=True)
@@ -1348,7 +1400,8 @@
         """
         shouldReopen = self.vcs.hgUnbundle(self.project.ppath)
         if shouldReopen:
-            res = E5MessageBox.yesNo(self.parent(),
+            res = E5MessageBox.yesNo(
+                self.parent(),
                 self.trUtf8("Apply changegroups"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 yesDefault=True)
@@ -1403,7 +1456,8 @@
         """
         shouldReopen = self.vcs.hgImport(self.project.ppath)
         if shouldReopen:
-            res = E5MessageBox.yesNo(self.parent(),
+            res = E5MessageBox.yesNo(
+                self.parent(),
                 self.trUtf8("Import Patch"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 yesDefault=True)
@@ -1422,7 +1476,8 @@
         """
         shouldReopen = self.vcs.hgRevert(self.project.ppath)
         if shouldReopen:
-            res = E5MessageBox.yesNo(self.parent(),
+            res = E5MessageBox.yesNo(
+                self.parent(),
                 self.trUtf8("Revert Changes"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 yesDefault=True)
@@ -1441,7 +1496,8 @@
         """
         shouldReopen = self.vcs.hgGraft(self.project.getProjectPath())
         if shouldReopen:
-            res = E5MessageBox.yesNo(None,
+            res = E5MessageBox.yesNo(
+                None,
                 self.trUtf8("Copy Changesets"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 yesDefault=True)
@@ -1455,7 +1511,8 @@
         """
         shouldReopen = self.vcs.hgGraftContinue(self.project.getProjectPath())
         if shouldReopen:
-            res = E5MessageBox.yesNo(None,
+            res = E5MessageBox.yesNo(
+                None,
                 self.trUtf8("Copy Changesets (Continue)"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 yesDefault=True)

eric ide

mercurial