--- a/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py Fri Nov 01 15:48:48 2013 +0100 +++ b/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py Sun Nov 03 15:58:22 2013 +0100 @@ -332,11 +332,11 @@ if file.repos_text_status != pysvn.wc_status_kind.none: uptodate = uptodate and \ file.repos_text_status != \ - pysvn.wc_status_kind.modified + pysvn.wc_status_kind.modified if file.repos_prop_status != pysvn.wc_status_kind.none: uptodate = uptodate and \ file.repos_prop_status != \ - pysvn.wc_status_kind.modified + pysvn.wc_status_kind.modified lockState = " " if file.entry is not None and \ @@ -349,8 +349,9 @@ elif lockState == " " and file.repos_lock is not None: lockState = "O" elif lockState == "L" and \ - file.repos_lock is not None and \ - file.entry.lock_token != file.repos_lock["token"]: + file.repos_lock is not None and \ + file.entry.lock_token != \ + file.repos_lock["token"]: lockState = "S" fpath = Utilities.normcasepath( @@ -636,7 +637,7 @@ """ Private slot to handle the Add context menu entry. """ - names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \ + names = [os.path.join(self.dname, itm.text(self.__pathColumn)) for itm in self.__getUnversionedItems()] if not names: E5MessageBox.information( @@ -658,7 +659,7 @@ """ Private slot to handle the Revert context menu entry. """ - names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \ + names = [os.path.join(self.dname, itm.text(self.__pathColumn)) for itm in self.__getModifiedItems()] if not names: E5MessageBox.information( @@ -744,7 +745,7 @@ """ Private slot to handle the Lock context menu entry. """ - names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \ + names = [os.path.join(self.dname, itm.text(self.__pathColumn)) for itm in self.__getLockActionItems(self.unlockedIndicators)] if not names: E5MessageBox.information( @@ -761,7 +762,7 @@ """ Private slot to handle the Unlock context menu entry. """ - names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \ + names = [os.path.join(self.dname, itm.text(self.__pathColumn)) for itm in self.__getLockActionItems(self.lockedIndicators)] if not names: E5MessageBox.information( @@ -780,7 +781,7 @@ """ names = [os.path.join(self.dname, itm.text(self.__pathColumn)) for itm in self.__getLockActionItems( - self.stealBreakLockIndicators)] + self.stealBreakLockIndicators)] if not names: E5MessageBox.information( self, @@ -798,7 +799,7 @@ """ names = [os.path.join(self.dname, itm.text(self.__pathColumn)) for itm in self.__getLockActionItems( - self.stealBreakLockIndicators)] + self.stealBreakLockIndicators)] if not names: E5MessageBox.information( self, @@ -814,7 +815,7 @@ """ Private slot to add entries to a changelist. """ - names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \ + names = [os.path.join(self.dname, itm.text(self.__pathColumn)) for itm in self.__getNonChangelistItems()] if not names: E5MessageBox.information( @@ -833,7 +834,7 @@ """ Private slot to remove entries from their changelists. """ - names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \ + names = [os.path.join(self.dname, itm.text(self.__pathColumn)) for itm in self.__getChangelistItems()] if not names: E5MessageBox.information(