136 @return tuple naming the revisions, base revisions, the compression |
136 @return tuple naming the revisions, base revisions, the compression |
137 type and a flag indicating to bundle all changesets (string, |
137 type and a flag indicating to bundle all changesets (string, |
138 string, boolean) |
138 string, boolean) |
139 """ |
139 """ |
140 if self.multipleButton.isChecked(): |
140 if self.multipleButton.isChecked(): |
141 revs = self.multipleEdit.toPlainText().strip().splitlines() |
141 revs = [rev.strip() for rev in |
|
142 self.multipleEdit.toPlainText().strip().splitlines() |
|
143 if rev.strip()] |
142 elif self.tagButton.isChecked(): |
144 elif self.tagButton.isChecked(): |
143 revs = [self.tagCombo.currentText()] |
145 revs = [self.tagCombo.currentText()] |
144 elif self.branchButton.isChecked(): |
146 elif self.branchButton.isChecked(): |
145 revs = [self.branchCombo.currentText()] |
147 revs = [self.branchCombo.currentText()] |
146 elif self.bookmarkButton.isChecked(): |
148 elif self.bookmarkButton.isChecked(): |
147 revs = [self.bookmarkCombo.currentText()] |
149 revs = [self.bookmarkCombo.currentText()] |
148 else: |
150 else: |
149 revs = [] |
151 revs = [] |
150 |
152 |
151 baseRevs = self.baseRevisionsEdit.toPlainText().strip().splitlines() |
153 baseRevs = [rev.strip() for rev in |
|
154 self.baseRevisionsEdit.toPlainText().strip().splitlines() |
|
155 if rev.strip()] |
152 |
156 |
153 return (revs, baseRevs, self.compressionCombo.currentText(), |
157 return (revs, baseRevs, self.compressionCombo.currentText(), |
154 self.allCheckBox.isChecked()) |
158 self.allCheckBox.isChecked()) |