##// END OF EJS Templates
mq: when adding headers in plain mode, separate them from message (issue4453)...
Mads Kiilerich -
r23346:5ccced6e stable
parent child Browse files
Show More
@@ -151,6 +151,8 b' def inserthgheader(lines, header, value)'
151 151 return lines
152 152
153 153 def insertplainheader(lines, header, value):
154 if lines and lines[0] and ':' not in lines[0]:
155 lines.insert(0, '')
154 156 lines.insert(0, '%s: %s' % (header, value))
155 157 return lines
156 158
@@ -311,6 +311,7 b''
311 311 0: [mq]: 1.patch - test
312 312 ==== qref -d
313 313 Date: 9 0
314
314 315 Four
315 316
316 317 diff -r ... 4
@@ -494,6 +495,7 b''
494 495 ==== qref -u -d
495 496 Date: 15 0
496 497 From: john
498
497 499 Nine
498 500
499 501 diff -r ... 9
@@ -250,6 +250,7 b''
250 250 0: [mq]: 1.patch - mary
251 251 ==== qref -u
252 252 From: jane
253
253 254 Four
254 255
255 256 diff -r ... 4of
General Comments 0
You need to be logged in to leave comments. Login now