##// 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 return lines
151 return lines
152
152
153 def insertplainheader(lines, header, value):
153 def insertplainheader(lines, header, value):
154 if lines and lines[0] and ':' not in lines[0]:
155 lines.insert(0, '')
154 lines.insert(0, '%s: %s' % (header, value))
156 lines.insert(0, '%s: %s' % (header, value))
155 return lines
157 return lines
156
158
@@ -311,6 +311,7 b''
311 0: [mq]: 1.patch - test
311 0: [mq]: 1.patch - test
312 ==== qref -d
312 ==== qref -d
313 Date: 9 0
313 Date: 9 0
314
314 Four
315 Four
315
316
316 diff -r ... 4
317 diff -r ... 4
@@ -494,6 +495,7 b''
494 ==== qref -u -d
495 ==== qref -u -d
495 Date: 15 0
496 Date: 15 0
496 From: john
497 From: john
498
497 Nine
499 Nine
498
500
499 diff -r ... 9
501 diff -r ... 9
@@ -250,6 +250,7 b''
250 0: [mq]: 1.patch - mary
250 0: [mq]: 1.patch - mary
251 ==== qref -u
251 ==== qref -u
252 From: jane
252 From: jane
253
253 Four
254 Four
254
255
255 diff -r ... 4of
256 diff -r ... 4of
General Comments 0
You need to be logged in to leave comments. Login now