Mercurial > hg-stable
comparison tests/test-mq-header-date.t @ 22546:aac5482db318
mq: refactor patchheader header ordering to match export (BC)
The refactoring also gives more robust and extendable handling of other HG
headers.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 24 Sep 2014 02:41:11 +0200 |
parents | 9d4ebb75de53 |
children | e955549cd045 6333412245ec |
comparison
equal
deleted
inserted
replaced
22545:6a2cfa61acb0 | 22546:aac5482db318 |
---|---|
327 1: Three (again) - test - 8.00 | 327 1: Three (again) - test - 8.00 |
328 0: [mq]: 1.patch - test - 4.00 | 328 0: [mq]: 1.patch - test - 4.00 |
329 ==== hg qref | 329 ==== hg qref |
330 adding 5 | 330 adding 5 |
331 # HG changeset patch | 331 # HG changeset patch |
332 # Parent | |
333 # Date 10 0 | 332 # Date 10 0 |
333 # Parent | |
334 | 334 |
335 diff -r ... 5 | 335 diff -r ... 5 |
336 --- /dev/null | 336 --- /dev/null |
337 +++ b/5 | 337 +++ b/5 |
338 @@ -0,0 +1,1 @@ | 338 @@ -0,0 +1,1 @@ |
340 2: [mq]: 5.patch - test - 10.00 | 340 2: [mq]: 5.patch - test - 10.00 |
341 1: Three (again) - test - 8.00 | 341 1: Three (again) - test - 8.00 |
342 0: [mq]: 1.patch - test - 4.00 | 342 0: [mq]: 1.patch - test - 4.00 |
343 ==== hg qref -d | 343 ==== hg qref -d |
344 # HG changeset patch | 344 # HG changeset patch |
345 # Parent | |
346 # Date 11 0 | 345 # Date 11 0 |
346 # Parent | |
347 | 347 |
348 diff -r ... 5 | 348 diff -r ... 5 |
349 --- /dev/null | 349 --- /dev/null |
350 +++ b/5 | 350 +++ b/5 |
351 @@ -0,0 +1,1 @@ | 351 @@ -0,0 +1,1 @@ |
681 1: Three (again) - test - 8.00 | 681 1: Three (again) - test - 8.00 |
682 0: [mq]: 1.patch - test - 4.00 | 682 0: [mq]: 1.patch - test - 4.00 |
683 ==== hg qref | 683 ==== hg qref |
684 adding 5 | 684 adding 5 |
685 # HG changeset patch | 685 # HG changeset patch |
686 # Parent | |
687 # Date 10 0 | 686 # Date 10 0 |
687 # Parent | |
688 | 688 |
689 diff -r ... 5 | 689 diff -r ... 5 |
690 --- /dev/null | 690 --- /dev/null |
691 +++ b/5 | 691 +++ b/5 |
692 @@ -0,0 +1,1 @@ | 692 @@ -0,0 +1,1 @@ |
694 2: [mq]: 5.patch - test - 10.00 | 694 2: [mq]: 5.patch - test - 10.00 |
695 1: Three (again) - test - 8.00 | 695 1: Three (again) - test - 8.00 |
696 0: [mq]: 1.patch - test - 4.00 | 696 0: [mq]: 1.patch - test - 4.00 |
697 ==== hg qref -d | 697 ==== hg qref -d |
698 # HG changeset patch | 698 # HG changeset patch |
699 # Parent | |
700 # Date 11 0 | 699 # Date 11 0 |
700 # Parent | |
701 | 701 |
702 diff -r ... 5 | 702 diff -r ... 5 |
703 --- /dev/null | 703 --- /dev/null |
704 +++ b/5 | 704 +++ b/5 |
705 @@ -0,0 +1,1 @@ | 705 @@ -0,0 +1,1 @@ |
759 2: [mq]: 5.patch - test | 759 2: [mq]: 5.patch - test |
760 1: Three (again) - test | 760 1: Three (again) - test |
761 0: [mq]: 1.patch - test | 761 0: [mq]: 1.patch - test |
762 ==== qref -d | 762 ==== qref -d |
763 # HG changeset patch | 763 # HG changeset patch |
764 # User jane | |
764 # Date 12 0 | 765 # Date 12 0 |
765 # User jane | |
766 # Parent | 766 # Parent |
767 | 767 |
768 diff -r ... 6 | 768 diff -r ... 6 |
769 --- /dev/null | 769 --- /dev/null |
770 +++ b/6 | 770 +++ b/6 |
821 2: [mq]: 5.patch - test | 821 2: [mq]: 5.patch - test |
822 1: Three (again) - test | 822 1: Three (again) - test |
823 0: [mq]: 1.patch - test | 823 0: [mq]: 1.patch - test |
824 ==== qref -u -d | 824 ==== qref -u -d |
825 # HG changeset patch | 825 # HG changeset patch |
826 # User john | |
826 # Date 14 0 | 827 # Date 14 0 |
827 # User john | |
828 # Parent | 828 # Parent |
829 | 829 |
830 diff -r ... 8 | 830 diff -r ... 8 |
831 --- /dev/null | 831 --- /dev/null |
832 +++ b/8 | 832 +++ b/8 |
855 2: [mq]: 5.patch - test | 855 2: [mq]: 5.patch - test |
856 1: Three (again) - test | 856 1: Three (again) - test |
857 0: [mq]: 1.patch - test | 857 0: [mq]: 1.patch - test |
858 ==== qref -u -d | 858 ==== qref -u -d |
859 # HG changeset patch | 859 # HG changeset patch |
860 # User john | |
860 # Date 15 0 | 861 # Date 15 0 |
861 # User john | |
862 # Parent | 862 # Parent |
863 Nine | 863 Nine |
864 | 864 |
865 diff -r ... 9 | 865 diff -r ... 9 |
866 --- /dev/null | 866 --- /dev/null |