Show More
@@ -1073,10 +1073,8 b' class queue(object):' | |||
|
1073 | 1073 | if self.plainmode: |
|
1074 | 1074 | if user: |
|
1075 | 1075 | p.write("From: " + user + "\n") |
|
1076 | if not date: | |
|
1077 | p.write("\n") | |
|
1078 | 1076 | if date: |
|
1079 |
p.write("Date: %d %d\n |
|
|
1077 | p.write("Date: %d %d\n" % date) | |
|
1080 | 1078 | else: |
|
1081 | 1079 | p.write("# HG changeset patch\n") |
|
1082 | 1080 | p.write("# Parent " |
@@ -1084,7 +1082,7 b' class queue(object):' | |||
|
1084 | 1082 | if user: |
|
1085 | 1083 | p.write("# User " + user + "\n") |
|
1086 | 1084 | if date: |
|
1087 |
p.write("# Date %s %s\n |
|
|
1085 | p.write("# Date %s %s\n" % date) | |
|
1088 | 1086 | |
|
1089 | 1087 | defaultmsg = "[mq]: %s" % patchfn |
|
1090 | 1088 | editor = cmdutil.getcommiteditor(editform=editform) |
@@ -1117,6 +1115,8 b' class queue(object):' | |||
|
1117 | 1115 | if nctx.description() != defaultmsg.rstrip(): |
|
1118 | 1116 | msg = nctx.description() + "\n\n" |
|
1119 | 1117 | p.write(msg) |
|
1118 | elif not self.plainmode or date or user: | |
|
1119 | p.write('\n') | |
|
1120 | 1120 | if commitfiles: |
|
1121 | 1121 | parent = self.qparents(repo, n) |
|
1122 | 1122 | if inclsubs: |
@@ -243,7 +243,6 b'' | |||
|
243 | 243 | now at: 1.patch |
|
244 | 244 | ==== qnew -d -m |
|
245 | 245 | Date: 6 0 |
|
246 | ||
|
247 | 246 | Three |
|
248 | 247 | |
|
249 | 248 | 1: Three - test - 6.00 |
@@ -251,7 +250,6 b'' | |||
|
251 | 250 | ==== qref |
|
252 | 251 | adding 3 |
|
253 | 252 | Date: 6 0 |
|
254 | ||
|
255 | 253 | Three |
|
256 | 254 | |
|
257 | 255 | diff -r ... 3 |
@@ -263,7 +261,6 b'' | |||
|
263 | 261 | 0: [mq]: 1.patch - test - 4.00 |
|
264 | 262 | ==== qref -m |
|
265 | 263 | Date: 6 0 |
|
266 | ||
|
267 | 264 | Drei |
|
268 | 265 | |
|
269 | 266 | diff -r ... 3 |
@@ -275,7 +272,6 b'' | |||
|
275 | 272 | 0: [mq]: 1.patch - test - 4.00 |
|
276 | 273 | ==== qref -d |
|
277 | 274 | Date: 7 0 |
|
278 | ||
|
279 | 275 | Drei |
|
280 | 276 | |
|
281 | 277 | diff -r ... 3 |
@@ -287,7 +283,6 b'' | |||
|
287 | 283 | 0: [mq]: 1.patch - test - 4.00 |
|
288 | 284 | ==== qref -d -m |
|
289 | 285 | Date: 8 0 |
|
290 | ||
|
291 | 286 | Three (again) |
|
292 | 287 | |
|
293 | 288 | diff -r ... 3 |
@@ -590,7 +585,6 b'' | |||
|
590 | 585 | # HG changeset patch |
|
591 | 586 | # Parent |
|
592 | 587 | # Date 6 0 |
|
593 | ||
|
594 | 588 | Three |
|
595 | 589 | |
|
596 | 590 | 1: Three - test - 6.00 |
@@ -600,7 +594,6 b'' | |||
|
600 | 594 | # HG changeset patch |
|
601 | 595 | # Parent |
|
602 | 596 | # Date 6 0 |
|
603 | ||
|
604 | 597 | Three |
|
605 | 598 | |
|
606 | 599 | diff -r ... 3 |
@@ -614,7 +607,6 b'' | |||
|
614 | 607 | # HG changeset patch |
|
615 | 608 | # Parent |
|
616 | 609 | # Date 6 0 |
|
617 | ||
|
618 | 610 | Drei |
|
619 | 611 | |
|
620 | 612 | diff -r ... 3 |
@@ -628,7 +620,6 b'' | |||
|
628 | 620 | # HG changeset patch |
|
629 | 621 | # Parent |
|
630 | 622 | # Date 7 0 |
|
631 | ||
|
632 | 623 | Drei |
|
633 | 624 | |
|
634 | 625 | diff -r ... 3 |
@@ -642,7 +633,6 b'' | |||
|
642 | 633 | # HG changeset patch |
|
643 | 634 | # Parent |
|
644 | 635 | # Date 8 0 |
|
645 | ||
|
646 | 636 | Three (again) |
|
647 | 637 | |
|
648 | 638 | diff -r ... 3 |
@@ -176,7 +176,6 b'' | |||
|
176 | 176 | 0: [mq]: 1.patch - mary |
|
177 | 177 | ==== qnew -U -m |
|
178 | 178 | From: test |
|
179 | ||
|
180 | 179 | Three |
|
181 | 180 | |
|
182 | 181 | 2: Three - test |
@@ -185,7 +184,6 b'' | |||
|
185 | 184 | ==== qref |
|
186 | 185 | adding 3 |
|
187 | 186 | From: test |
|
188 | ||
|
189 | 187 | Three |
|
190 | 188 | |
|
191 | 189 | diff -r ... 3 |
@@ -198,7 +196,6 b'' | |||
|
198 | 196 | 0: [mq]: 1.patch - mary |
|
199 | 197 | ==== qref -m |
|
200 | 198 | From: test |
|
201 | ||
|
202 | 199 | Drei |
|
203 | 200 | |
|
204 | 201 | diff -r ... 3 |
@@ -211,7 +208,6 b'' | |||
|
211 | 208 | 0: [mq]: 1.patch - mary |
|
212 | 209 | ==== qref -u |
|
213 | 210 | From: mary |
|
214 | ||
|
215 | 211 | Drei |
|
216 | 212 | |
|
217 | 213 | diff -r ... 3 |
@@ -224,7 +220,6 b'' | |||
|
224 | 220 | 0: [mq]: 1.patch - mary |
|
225 | 221 | ==== qref -u -m |
|
226 | 222 | From: maria |
|
227 | ||
|
228 | 223 | Three (again) |
|
229 | 224 | |
|
230 | 225 | diff -r ... 3 |
@@ -406,6 +401,7 b'' | |||
|
406 | 401 | # HG changeset patch |
|
407 | 402 | # Parent |
|
408 | 403 | # User test |
|
404 | ||
|
409 | 405 | 0: [mq]: 1.patch - test |
|
410 | 406 | ==== qref |
|
411 | 407 | adding 1 |
@@ -690,6 +686,7 b'' | |||
|
690 | 686 | # HG changeset patch |
|
691 | 687 | # Parent |
|
692 | 688 | # User test |
|
689 | ||
|
693 | 690 | 0: [mq]: 1.patch - test |
|
694 | 691 | ==== qref |
|
695 | 692 | adding 1 |
@@ -209,6 +209,7 b' hg headers' | |||
|
209 | 209 | M d/b |
|
210 | 210 | # HG changeset patch |
|
211 | 211 | # Parent |
|
212 | ||
|
212 | 213 | diff --git a/d/b b/d/b |
|
213 | 214 | --- a/d/b |
|
214 | 215 | +++ b/d/b |
@@ -219,10 +220,12 b' hg headers' | |||
|
219 | 220 | # HG changeset patch |
|
220 | 221 | # Parent |
|
221 | 222 | # User blue |
|
223 | ||
|
222 | 224 | % qnew -e -u with no username configured |
|
223 | 225 | # HG changeset patch |
|
224 | 226 | # Parent |
|
225 | 227 | # User chartreuse |
|
228 | ||
|
226 | 229 | % fail when trying to import a merge |
|
227 | 230 | adding a |
|
228 | 231 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -337,6 +340,7 b' Test handling default message with the p' | |||
|
337 | 340 | $ cat ".hg/patches/patch " |
|
338 | 341 | # HG changeset patch |
|
339 | 342 | # Parent 0000000000000000000000000000000000000000 |
|
343 | ||
|
340 | 344 |
|
|
341 | 345 | $ cd .. |
|
342 | 346 |
@@ -508,6 +508,7 b' but only after writing the bad name into' | |||
|
508 | 508 | $ cat .hg/patches/a |
|
509 | 509 | # HG changeset patch |
|
510 | 510 | # Parent 0000000000000000000000000000000000000000 |
|
511 | ||
|
511 | 512 | diff --git a/a b/a |
|
512 | 513 | new file mode 100644 |
|
513 | 514 | $ hg qpush |
@@ -522,6 +523,7 b' but only after writing the bad name into' | |||
|
522 | 523 | $ cat .hg/patches/a |
|
523 | 524 | # HG changeset patch |
|
524 | 525 | # Parent 0000000000000000000000000000000000000000 |
|
526 | ||
|
525 | 527 | diff --git a/a b/a |
|
526 | 528 | new file mode 100644 |
|
527 | 529 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now