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 |
General Comments 0
You need to be logged in to leave comments.
Login now