Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3024
17c01303a239
child 3145
a9de05d4a22f
diff -r 10516539f238 -r 0a02c433f52d Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py
--- a/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py	Fri Nov 01 15:48:48 2013 +0100
@@ -208,15 +208,18 @@
         act.setFont(font)
         menu.addSeparator()
         
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUpdate.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUpdate.png"),
             self.trUtf8('Update from repository'), self._VCSUpdate)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsCommit.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsCommit.png"),
             self.trUtf8('Commit changes to repository...'),
             self._VCSCommit)
         self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsAdd.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsAdd.png"),
             self.trUtf8('Add to repository'),
             self._VCSAdd)
         self.vcsAddMenuActions.append(act)
@@ -226,80 +229,100 @@
                 self.trUtf8('Add tree to repository'),
                 self._VCSAddTree)
             self.vcsAddMenuActions.append(self.vcsMenuAddTree)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRemove.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRemove.png"),
             self.trUtf8('Remove from repository (and disk)'),
             self._VCSRemove)
         self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(self.trUtf8('Copy'), self.__SVNCopy)
+        act = menu.addAction(
+            self.trUtf8('Copy'), self.__SVNCopy)
         self.vcsMenuActions.append(act)
         act = menu.addAction(self.trUtf8('Move'), self.__SVNMove)
         self.vcsMenuActions.append(act)
         if pysvn.svn_version >= (1, 5, 0) and pysvn.version >= (1, 6, 0):
             menu.addSeparator()
-            act = menu.addAction(self.trUtf8("Add to Changelist"),
+            act = menu.addAction(
+                self.trUtf8("Add to Changelist"),
                 self.__SVNAddToChangelist)
             self.vcsMenuActions.append(act)
-            act = menu.addAction(self.trUtf8("Remove from Changelist"),
+            act = menu.addAction(
+                self.trUtf8("Remove from Changelist"),
                 self.__SVNRemoveFromChangelist)
             self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsLog.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsLog.png"),
             self.trUtf8('Show log'), self._VCSLog)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsLog.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsLog.png"),
             self.trUtf8('Show log browser'), self.__SVNLogBrowser)
         self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsStatus.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsStatus.png"),
             self.trUtf8('Show status'), self._VCSStatus)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRepo.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRepo.png"),
             self.trUtf8('Show repository info'), self.__SVNInfo)
         self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference'), self._VCSDiff)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsSbsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsSbsDiff.png"),
             self.trUtf8('Show difference side-by-side'), self.__SVNSbsDiff)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference (extended)'),
             self.__SVNExtendedDiff)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsSbsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsSbsDiff.png"),
             self.trUtf8('Show difference side-by-side (extended)'),
             self.__SVNSbsExtendedDiff)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference (URLs)'),
             self.__SVNUrlDiff)
         self.vcsMenuActions.append(act)
-        self.blameAct = menu.addAction(self.trUtf8('Show annotated file'),
+        self.blameAct = menu.addAction(
+            self.trUtf8('Show annotated file'),
             self.__SVNBlame)
         self.vcsMenuActions.append(self.blameAct)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRevert.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRevert.png"),
             self.trUtf8('Revert changes'), self._VCSRevert)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsMerge.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsMerge.png"),
             self.trUtf8('Merge changes'), self._VCSMerge)
         self.vcsMenuActions.append(act)
         act = menu.addAction(
             self.trUtf8('Conflict resolved'), self.__SVNResolve)
         self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsLock.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsLock.png"),
             self.trUtf8('Lock'), self.__SVNLock)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUnlock.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUnlock.png"),
             self.trUtf8('Unlock'), self.__SVNUnlock)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUnlock.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUnlock.png"),
             self.trUtf8('Break Lock'), self.__SVNBreakLock)
         self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUnlock.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUnlock.png"),
             self.trUtf8('Steal Lock'), self.__SVNStealLock)
         self.vcsMenuActions.append(act)
         menu.addSeparator()
@@ -312,13 +335,13 @@
         self.vcsMenuActions.append(act)
         menu.addSeparator()
         menu.addAction(self.trUtf8('Select all local file entries'),
-                        self.browser.selectLocalEntries)
+                       self.browser.selectLocalEntries)
         menu.addAction(self.trUtf8('Select all versioned file entries'),
-                        self.browser.selectVCSEntries)
+                       self.browser.selectVCSEntries)
         menu.addAction(self.trUtf8('Select all local directory entries'),
-                        self.browser.selectLocalDirEntries)
+                       self.browser.selectLocalDirEntries)
         menu.addAction(self.trUtf8('Select all versioned directory entries'),
-                        self.browser.selectVCSDirEntries)
+                       self.browser.selectVCSDirEntries)
         menu.addSeparator()
         menu.addAction(self.trUtf8("Configure..."), self.__SVNConfigure)
         
@@ -347,68 +370,83 @@
         act.setFont(font)
         menu.addSeparator()
         
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUpdate.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUpdate.png"),
             self.trUtf8('Update from repository'), self._VCSUpdate)
         self.vcsMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsCommit.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsCommit.png"),
             self.trUtf8('Commit changes to repository...'),
             self._VCSCommit)
         self.vcsMultiMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsAdd.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsAdd.png"),
             self.trUtf8('Add to repository'), self._VCSAdd)
         self.vcsAddMultiMenuActions.append(act)
         if 1 in self.browser.specialMenuEntries:
-            self.vcsMultiMenuAddTree = \
-                menu.addAction(UI.PixmapCache.getIcon("vcsAdd.png"),
+            self.vcsMultiMenuAddTree = menu.addAction(
+                UI.PixmapCache.getIcon("vcsAdd.png"),
                 self.trUtf8('Add tree to repository'), self._VCSAddTree)
             self.vcsAddMultiMenuActions.append(self.vcsMultiMenuAddTree)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRemove.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRemove.png"),
             self.trUtf8('Remove from repository (and disk)'),
             self._VCSRemove)
         self.vcsMultiMenuActions.append(act)
         if pysvn.svn_version >= (1, 5, 0) and pysvn.version >= (1, 6, 0):
             menu.addSeparator()
-            act = menu.addAction(self.trUtf8("Add to Changelist"),
+            act = menu.addAction(
+                self.trUtf8("Add to Changelist"),
                 self.__SVNAddToChangelist)
             self.vcsMenuActions.append(act)
-            act = menu.addAction(self.trUtf8("Remove from Changelist"),
+            act = menu.addAction(
+                self.trUtf8("Remove from Changelist"),
                 self.__SVNRemoveFromChangelist)
             self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsStatus.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsStatus.png"),
             self.trUtf8('Show status'), self._VCSStatus)
         self.vcsMultiMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference'), self._VCSDiff)
         self.vcsMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference (extended)'),
             self.__SVNExtendedDiff)
         self.vcsMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference (URLs)'),
             self.__SVNUrlDiff)
         self.vcsMultiMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRevert.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRevert.png"),
             self.trUtf8('Revert changes'), self._VCSRevert)
         self.vcsMultiMenuActions.append(act)
         act = menu.addAction(
             self.trUtf8('Conflict resolved'), self.__SVNResolve)
         self.vcsMultiMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsLock.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsLock.png"),
             self.trUtf8('Lock'), self.__SVNLock)
         self.vcsMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUnlock.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUnlock.png"),
             self.trUtf8('Unlock'), self.__SVNUnlock)
         self.vcsMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUnlock.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUnlock.png"),
             self.trUtf8('Break Lock'), self.__SVNBreakLock)
         self.vcsMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUnlock.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUnlock.png"),
             self.trUtf8('Steal Lock'), self.__SVNStealLock)
         self.vcsMultiMenuActions.append(act)
         menu.addSeparator()
@@ -421,13 +459,13 @@
         self.vcsMultiMenuActions.append(act)
         menu.addSeparator()
         menu.addAction(self.trUtf8('Select all local file entries'),
-                        self.browser.selectLocalEntries)
+                       self.browser.selectLocalEntries)
         menu.addAction(self.trUtf8('Select all versioned file entries'),
-                        self.browser.selectVCSEntries)
+                       self.browser.selectVCSEntries)
         menu.addAction(self.trUtf8('Select all local directory entries'),
-                        self.browser.selectLocalDirEntries)
+                       self.browser.selectLocalDirEntries)
         menu.addAction(self.trUtf8('Select all versioned directory entries'),
-                        self.browser.selectVCSDirEntries)
+                       self.browser.selectVCSDirEntries)
         menu.addSeparator()
         menu.addAction(self.trUtf8("Configure..."), self.__SVNConfigure)
         
@@ -453,13 +491,13 @@
         menu.addSeparator()
         
         menu.addAction(self.trUtf8('Select all local file entries'),
-                        self.browser.selectLocalEntries)
+                       self.browser.selectLocalEntries)
         menu.addAction(self.trUtf8('Select all versioned file entries'),
-                        self.browser.selectVCSEntries)
+                       self.browser.selectVCSEntries)
         menu.addAction(self.trUtf8('Select all local directory entries'),
-                        self.browser.selectLocalDirEntries)
+                       self.browser.selectLocalDirEntries)
         menu.addAction(self.trUtf8('Select all versioned directory entries'),
-                        self.browser.selectVCSDirEntries)
+                       self.browser.selectVCSDirEntries)
         menu.addSeparator()
         menu.addAction(self.trUtf8("Configure..."), self.__SVNConfigure)
         
@@ -490,18 +528,22 @@
         act.setFont(font)
         menu.addSeparator()
         
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUpdate.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUpdate.png"),
             self.trUtf8('Update from repository'), self._VCSUpdate)
         self.vcsDirMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsCommit.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsCommit.png"),
             self.trUtf8('Commit changes to repository...'),
             self._VCSCommit)
         self.vcsDirMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsAdd.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsAdd.png"),
             self.trUtf8('Add to repository'), self._VCSAdd)
         self.vcsAddDirMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRemove.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRemove.png"),
             self.trUtf8('Remove from repository (and disk)'),
             self._VCSRemove)
         self.vcsDirMenuActions.append(act)
@@ -512,43 +554,54 @@
         self.vcsDirMenuActions.append(act)
         if pysvn.svn_version >= (1, 5, 0) and pysvn.version >= (1, 6, 0):
             menu.addSeparator()
-            act = menu.addAction(self.trUtf8("Add to Changelist"),
+            act = menu.addAction(
+                self.trUtf8("Add to Changelist"),
                 self.__SVNAddToChangelist)
             self.vcsMenuActions.append(act)
-            act = menu.addAction(self.trUtf8("Remove from Changelist"),
+            act = menu.addAction(
+                self.trUtf8("Remove from Changelist"),
                 self.__SVNRemoveFromChangelist)
             self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsLog.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsLog.png"),
             self.trUtf8('Show log'), self._VCSLog)
         self.vcsDirMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsLog.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsLog.png"),
             self.trUtf8('Show log browser'), self.__SVNLogBrowser)
         self.vcsDirMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsStatus.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsStatus.png"),
             self.trUtf8('Show status'), self._VCSStatus)
         self.vcsDirMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRepo.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRepo.png"),
             self.trUtf8('Show repository info'), self.__SVNInfo)
         self.vcsDirMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference'), self._VCSDiff)
         self.vcsDirMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference (extended)'),
             self.__SVNExtendedDiff)
         self.vcsDirMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference (URLs)'),
             self.__SVNUrlDiff)
         self.vcsDirMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRevert.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRevert.png"),
             self.trUtf8('Revert changes'), self._VCSRevert)
         self.vcsDirMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsMerge.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsMerge.png"),
             self.trUtf8('Merge changes'), self._VCSMerge)
         self.vcsDirMenuActions.append(act)
         act = menu.addAction(
@@ -564,13 +617,13 @@
         self.vcsDirMenuActions.append(act)
         menu.addSeparator()
         menu.addAction(self.trUtf8('Select all local file entries'),
-                        self.browser.selectLocalEntries)
+                       self.browser.selectLocalEntries)
         menu.addAction(self.trUtf8('Select all versioned file entries'),
-                        self.browser.selectVCSEntries)
+                       self.browser.selectVCSEntries)
         menu.addAction(self.trUtf8('Select all local directory entries'),
-                        self.browser.selectLocalDirEntries)
+                       self.browser.selectLocalDirEntries)
         menu.addAction(self.trUtf8('Select all versioned directory entries'),
-                        self.browser.selectVCSDirEntries)
+                       self.browser.selectVCSDirEntries)
         menu.addSeparator()
         menu.addAction(self.trUtf8("Configure..."), self.__SVNConfigure)
         
@@ -601,50 +654,62 @@
         act.setFont(font)
         menu.addSeparator()
         
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsUpdate.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsUpdate.png"),
             self.trUtf8('Update from repository'), self._VCSUpdate)
         self.vcsDirMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsCommit.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsCommit.png"),
             self.trUtf8('Commit changes to repository...'),
             self._VCSCommit)
         self.vcsDirMultiMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsAdd.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsAdd.png"),
             self.trUtf8('Add to repository'), self._VCSAdd)
         self.vcsAddDirMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRemove.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRemove.png"),
             self.trUtf8('Remove from repository (and disk)'),
             self._VCSRemove)
         self.vcsDirMultiMenuActions.append(act)
         if pysvn.svn_version >= (1, 5, 0) and pysvn.version >= (1, 6, 0):
             menu.addSeparator()
-            act = menu.addAction(self.trUtf8("Add to Changelist"),
+            act = menu.addAction(
+                self.trUtf8("Add to Changelist"),
                 self.__SVNAddToChangelist)
             self.vcsMenuActions.append(act)
-            act = menu.addAction(self.trUtf8("Remove from Changelist"),
+            act = menu.addAction(
+                self.trUtf8("Remove from Changelist"),
                 self.__SVNRemoveFromChangelist)
             self.vcsMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsStatus.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsStatus.png"),
             self.trUtf8('Show status'), self._VCSStatus)
         self.vcsDirMultiMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference'), self._VCSDiff)
         self.vcsDirMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference (extended)'),
             self.__SVNExtendedDiff)
         self.vcsDirMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsDiff.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsDiff.png"),
             self.trUtf8('Show difference (URLs)'),
             self.__SVNUrlDiff)
         self.vcsDirMultiMenuActions.append(act)
         menu.addSeparator()
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsRevert.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsRevert.png"),
             self.trUtf8('Revert changes'), self._VCSRevert)
         self.vcsDirMultiMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsMerge.png"),
+        act = menu.addAction(
+            UI.PixmapCache.getIcon("vcsMerge.png"),
             self.trUtf8('Merge changes'), self._VCSMerge)
         self.vcsDirMultiMenuActions.append(act)
         act = menu.addAction(
@@ -660,13 +725,13 @@
         self.vcsDirMultiMenuActions.append(act)
         menu.addSeparator()
         menu.addAction(self.trUtf8('Select all local file entries'),
-                        self.browser.selectLocalEntries)
+                       self.browser.selectLocalEntries)
         menu.addAction(self.trUtf8('Select all versioned file entries'),
-                        self.browser.selectVCSEntries)
+                       self.browser.selectVCSEntries)
         menu.addAction(self.trUtf8('Select all local directory entries'),
-                        self.browser.selectLocalDirEntries)
+                       self.browser.selectLocalDirEntries)
         menu.addAction(self.trUtf8('Select all versioned directory entries'),
-                        self.browser.selectVCSDirEntries)
+                       self.browser.selectVCSDirEntries)
         menu.addSeparator()
         menu.addAction(self.trUtf8("Configure..."), self.__SVNConfigure)
         
@@ -800,8 +865,9 @@
     def __SVNSbsExtendedDiff(self):
         """
         Private slot called by the context menu to show the difference of a
-        file to the repository side-by-side allowing the selection of
-        revisions to compare.
+        file to the repository side-by-side.
+       
+        It allows the selection of revisions to compare.
         """
         itm = self.browser.currentItem()
         fn = itm.fileName()

eric ide

mercurial