Plugins/VcsPlugins/vcsSubversion/SvnCommitDialog.py

changeset 110
c9a969db1469
parent 13
1af94a91f439
child 495
b31b0bffa5b0
child 792
a13346916170
equal deleted inserted replaced
109:9c72858d4b7a 110:c9a969db1469
48 48
49 def logMessage(self): 49 def logMessage(self):
50 """ 50 """
51 Public method to retrieve the log message. 51 Public method to retrieve the log message.
52 52
53 @return the log message (QString) 53 @return the log message (string)
54 """ 54 """
55 msg = self.logEdit.toPlainText() 55 msg = self.logEdit.toPlainText()
56 if msg: 56 if msg:
57 if msg in self.recentCommitMessages: 57 if msg in self.recentCommitMessages:
58 self.recentCommitMessages.remove(msg) 58 self.recentCommitMessages.remove(msg)
77 77
78 def changelistsData(self): 78 def changelistsData(self):
79 """ 79 """
80 Public method to retrieve the changelists data. 80 Public method to retrieve the changelists data.
81 81
82 @return tuple containing the changelists (QStringList) and a flag 82 @return tuple containing the changelists (list of strings) and a flag
83 indicating to keep changelists (boolean) 83 indicating to keep changelists (boolean)
84 """ 84 """
85 listsTxt = self.changeListsEdit.text() 85 listsTxt = self.changeListsEdit.text()
86 lists = listsTxt.split(';') 86 lists = listsTxt.split(';')
87 slists = [l.strip() for l in lists if l.strip() != ""] 87 slists = [l.strip() for l in lists if l.strip() != ""]

eric ide

mercurial