Show More
@@ -293,7 +293,10 class patchheader(object): | |||||
293 | if self.comments: |
|
293 | if self.comments: | |
294 | self._delmsg() |
|
294 | self._delmsg() | |
295 | self.message = [message] |
|
295 | self.message = [message] | |
296 |
|
|
296 | if message: | |
|
297 | if self.plainmode and self.comments and self.comments[-1]: | |||
|
298 | self.comments.append('') | |||
|
299 | self.comments.append(message) | |||
297 |
|
300 | |||
298 | def updateheader(self, prefixes, new): |
|
301 | def updateheader(self, prefixes, new): | |
299 | '''Update all references to a field in the patch header. |
|
302 | '''Update all references to a field in the patch header. |
@@ -243,6 +243,7 | |||||
243 | now at: 1.patch |
|
243 | now at: 1.patch | |
244 | ==== qnew -d -m |
|
244 | ==== qnew -d -m | |
245 | Date: 6 0 |
|
245 | Date: 6 0 | |
|
246 | ||||
246 | Three |
|
247 | Three | |
247 |
|
248 | |||
248 | 1: Three - test - 6.00 |
|
249 | 1: Three - test - 6.00 | |
@@ -250,6 +251,7 | |||||
250 | ==== qref |
|
251 | ==== qref | |
251 | adding 3 |
|
252 | adding 3 | |
252 | Date: 6 0 |
|
253 | Date: 6 0 | |
|
254 | ||||
253 | Three |
|
255 | Three | |
254 |
|
256 | |||
255 | diff -r ... 3 |
|
257 | diff -r ... 3 | |
@@ -261,6 +263,7 | |||||
261 | 0: [mq]: 1.patch - test - 4.00 |
|
263 | 0: [mq]: 1.patch - test - 4.00 | |
262 | ==== qref -m |
|
264 | ==== qref -m | |
263 | Date: 6 0 |
|
265 | Date: 6 0 | |
|
266 | ||||
264 | Drei |
|
267 | Drei | |
265 |
|
268 | |||
266 | diff -r ... 3 |
|
269 | diff -r ... 3 | |
@@ -272,6 +275,7 | |||||
272 | 0: [mq]: 1.patch - test - 4.00 |
|
275 | 0: [mq]: 1.patch - test - 4.00 | |
273 | ==== qref -d |
|
276 | ==== qref -d | |
274 | Date: 7 0 |
|
277 | Date: 7 0 | |
|
278 | ||||
275 | Drei |
|
279 | Drei | |
276 |
|
280 | |||
277 | diff -r ... 3 |
|
281 | diff -r ... 3 | |
@@ -283,6 +287,7 | |||||
283 | 0: [mq]: 1.patch - test - 4.00 |
|
287 | 0: [mq]: 1.patch - test - 4.00 | |
284 | ==== qref -d -m |
|
288 | ==== qref -d -m | |
285 | Date: 8 0 |
|
289 | Date: 8 0 | |
|
290 | ||||
286 | Three (again) |
|
291 | Three (again) | |
287 |
|
292 | |||
288 | diff -r ... 3 |
|
293 | diff -r ... 3 |
@@ -176,6 +176,7 | |||||
176 | 0: [mq]: 1.patch - mary |
|
176 | 0: [mq]: 1.patch - mary | |
177 | ==== qnew -U -m |
|
177 | ==== qnew -U -m | |
178 | From: test |
|
178 | From: test | |
|
179 | ||||
179 | Three |
|
180 | Three | |
180 |
|
181 | |||
181 | 2: Three - test |
|
182 | 2: Three - test | |
@@ -184,6 +185,7 | |||||
184 | ==== qref |
|
185 | ==== qref | |
185 | adding 3 |
|
186 | adding 3 | |
186 | From: test |
|
187 | From: test | |
|
188 | ||||
187 | Three |
|
189 | Three | |
188 |
|
190 | |||
189 | diff -r ... 3 |
|
191 | diff -r ... 3 | |
@@ -196,6 +198,7 | |||||
196 | 0: [mq]: 1.patch - mary |
|
198 | 0: [mq]: 1.patch - mary | |
197 | ==== qref -m |
|
199 | ==== qref -m | |
198 | From: test |
|
200 | From: test | |
|
201 | ||||
199 | Drei |
|
202 | Drei | |
200 |
|
203 | |||
201 | diff -r ... 3 |
|
204 | diff -r ... 3 | |
@@ -208,6 +211,7 | |||||
208 | 0: [mq]: 1.patch - mary |
|
211 | 0: [mq]: 1.patch - mary | |
209 | ==== qref -u |
|
212 | ==== qref -u | |
210 | From: mary |
|
213 | From: mary | |
|
214 | ||||
211 | Drei |
|
215 | Drei | |
212 |
|
216 | |||
213 | diff -r ... 3 |
|
217 | diff -r ... 3 | |
@@ -220,6 +224,7 | |||||
220 | 0: [mq]: 1.patch - mary |
|
224 | 0: [mq]: 1.patch - mary | |
221 | ==== qref -u -m |
|
225 | ==== qref -u -m | |
222 | From: maria |
|
226 | From: maria | |
|
227 | ||||
223 | Three (again) |
|
228 | Three (again) | |
224 |
|
229 | |||
225 | diff -r ... 3 |
|
230 | diff -r ... 3 |
General Comments 0
You need to be logged in to leave comments.
Login now