Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py

changeset 3591
2f2a4a76dd22
parent 3484
645c12de6b0c
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
78 if self.queueStatusDialog is not None: 78 if self.queueStatusDialog is not None:
79 self.queueStatusDialog.close() 79 self.queueStatusDialog.close()
80 80
81 def __getPatchesList(self, repodir, listType, withSummary=False): 81 def __getPatchesList(self, repodir, listType, withSummary=False):
82 """ 82 """
83 Public method to get a list of patches of a given type. 83 Private method to get a list of patches of a given type.
84 84
85 @param repodir directory name of the repository (string) 85 @param repodir directory name of the repository (string)
86 @param listType type of patches list to get 86 @param listType type of patches list to get
87 (Queues.APPLIED_LIST, Queues.UNAPPLIED_LIST, Queues.SERIES_LIST) 87 (Queues.APPLIED_LIST, Queues.UNAPPLIED_LIST, Queues.SERIES_LIST)
88 @param withSummary flag indicating to get a summary as well (boolean) 88 @param withSummary flag indicating to get a summary as well (boolean)
130 130
131 return patchesList 131 return patchesList
132 132
133 def __getCurrentPatch(self, repodir): 133 def __getCurrentPatch(self, repodir):
134 """ 134 """
135 Public method to get the name of the current patch. 135 Private method to get the name of the current patch.
136 136
137 @param repodir directory name of the repository (string) 137 @param repodir directory name of the repository (string)
138 @return name of the current patch (string) 138 @return name of the current patch (string)
139 """ 139 """
140 currentPatch = "" 140 currentPatch = ""
158 158
159 return currentPatch 159 return currentPatch
160 160
161 def __getCommitMessage(self, repodir): 161 def __getCommitMessage(self, repodir):
162 """ 162 """
163 Public method to get the commit message of the current patch. 163 Private method to get the commit message of the current patch.
164 164
165 @param repodir directory name of the repository (string) 165 @param repodir directory name of the repository (string)
166 @return name of the current patch (string) 166 @return name of the current patch (string)
167 """ 167 """
168 message = "" 168 message = ""

eric ide

mercurial