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