tests/test-patchbomb.t
author Mads Kiilerich <mads@kiilerich.com>
Tue, 22 Nov 2011 01:37:26 +0100
changeset 15546 1346bf5ff901
parent 15519 bb9ad375b51c
child 15547 7f1d263a1bcb
permissions -rw-r--r--
tests: show actual output in test-patchbomb.t Drop fixheader and decode base64 encoded content and show non-ascii content.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15519
bb9ad375b51c tests: add 'hghave system-sh' to skip tests on windows
Mads Kiilerich <mads@kiilerich.com>
parents: 15165
diff changeset
     1
  $ "$TESTDIR/hghave" system-sh || exit 80
bb9ad375b51c tests: add 'hghave system-sh' to skip tests on windows
Mads Kiilerich <mads@kiilerich.com>
parents: 15165
diff changeset
     2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
     3
  $ echo "[extensions]" >> $HGRCPATH
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
     4
  $ echo "patchbomb=" >> $HGRCPATH
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
     5
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
     6
  $ hg init t
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
     7
  $ cd t
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
     8
  $ echo a > a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
     9
  $ hg commit -Ama -d '1 0'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    10
  adding a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    11
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    12
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    13
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    14
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    15
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    16
  Displaying [PATCH] a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    17
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    18
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    19
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    20
  Subject: [PATCH] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    21
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
    22
  Message-Id: <8580ff50825a50c8f716.60@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
    23
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    24
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    25
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    26
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    27
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    28
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    29
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    30
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    31
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    32
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    33
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    34
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    35
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    36
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    37
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    38
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    39
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    40
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    41
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    42
12201
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    43
  $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    44
  > n
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    45
  > EOF
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    46
  This patch series consists of 1 patches.
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    47
  
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    48
  
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    49
  Final summary:
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    50
  
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    51
  From: quux
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    52
  To: foo
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    53
  Cc: bar
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    54
  Subject: [PATCH] a
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    55
   a |  1 +
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    56
   1 files changed, 1 insertions(+), 0 deletions(-)
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    57
  
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    58
  are you sure you want to send (yn)? abort: patchbomb canceled
12316
4134686b83e1 tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents: 12201
diff changeset
    59
  [255]
12201
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
    60
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    61
  $ echo b > b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    62
  $ hg commit -Amb -d '2 0'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    63
  adding b
4420
b0656b33cc02 add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    64
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    65
  $ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    66
  This patch series consists of 2 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    67
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    68
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    69
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    70
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    71
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    72
  Displaying [PATCH 0 of 2] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    73
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    74
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    75
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    76
  Subject: [PATCH 0 of 2] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
    77
  Message-Id: <patchbomb.120@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
    78
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    79
  Date: Thu, 01 Jan 1970 00:02:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    80
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    81
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    82
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    83
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    84
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    85
  Displaying [PATCH 1 of 2] a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    86
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    87
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    88
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    89
  Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    90
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
    91
  Message-Id: <8580ff50825a50c8f716.121@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
    92
  In-Reply-To: <patchbomb.120@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
    93
  References: <patchbomb.120@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
    94
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    95
  Date: Thu, 01 Jan 1970 00:02:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    96
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    97
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    98
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
    99
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   100
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   101
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   102
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   103
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   104
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   105
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   106
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   107
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   108
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   109
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   110
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   111
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   112
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   113
  Displaying [PATCH 2 of 2] b ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   114
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   115
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   116
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   117
  Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   118
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   119
  Message-Id: <97d72e5f12c7e84f8506.122@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   120
  In-Reply-To: <patchbomb.120@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   121
  References: <patchbomb.120@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
   122
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   123
  Date: Thu, 01 Jan 1970 00:02:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   124
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   125
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   126
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   127
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   128
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   129
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   130
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   131
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   132
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   133
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   134
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   135
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   136
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   137
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   138
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   139
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   140
  
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
   141
13198
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   142
.hg/last-email.txt
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   143
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   144
  $ cat > editor << '__EOF__'
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   145
  > #!/bin/sh
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   146
  > echo "a precious introductory message" > "$1"
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   147
  > __EOF__
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   148
  $ chmod +x editor
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   149
  $ HGEDITOR="'`pwd`'"/editor hg email -n -t foo -s test -r 0:tip > /dev/null
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   150
  $ cat .hg/last-email.txt
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   151
  a precious introductory message
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
   152
12845
685d884fd2b6 test-patchbomb: add test for progress support (1ed2dc9d4368)
Yuya Nishihara <yuya@tcha.org>
parents: 12376
diff changeset
   153
  $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \
685d884fd2b6 test-patchbomb: add test for progress support (1ed2dc9d4368)
Yuya Nishihara <yuya@tcha.org>
parents: 12376
diff changeset
   154
  > --config extensions.progress= --config progress.assume-tty=1 \
14101
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   155
  > --config progress.delay=0 --config progress.refresh=0 \
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   156
  > --config progress.width=60 2>&1 | \
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   157
  > python $TESTDIR/filtercr.py
13439
d724a69309e0 util: flush stdout before calling external processes
Mads Kiilerich <mads@kiilerich.com>
parents: 13198
diff changeset
   158
  This patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   159
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   160
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   161
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   162
  
14101
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   163
  
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   164
  writing [                                             ] 0/3
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   165
  writing [                                             ] 0/3
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   166
                                                              
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   167
                                                              
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   168
  writing [==============>                              ] 1/3
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   169
  writing [==============>                              ] 1/3
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   170
                                                              
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   171
                                                              
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   172
  writing [=============================>               ] 2/3
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   173
  writing [=============================>               ] 2/3
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   174
                                                              \r (esc)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   175
  Writing [PATCH 0 of 2] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   176
  Writing [PATCH 1 of 2] a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   177
  Writing [PATCH 2 of 2] b ...
14101
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
   178
  
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   179
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   180
  $ cd ..
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   181
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   182
  $ hg clone -q t t2
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   183
  $ cd t2
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   184
  $ echo c > c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   185
  $ hg commit -Amc -d '3 0'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   186
  adding c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   187
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   188
  $ cat > description <<EOF
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   189
  > a multiline
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   190
  > 
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   191
  > description
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   192
  > EOF
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   193
4420
b0656b33cc02 add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
   194
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   195
test bundle and description:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   196
  $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   197
  >  -c bar -s test -r tip -b --desc description
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   198
  searching for changes
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   199
  1 changesets found
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   200
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   201
  Displaying test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   202
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   203
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   204
  Subject: test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   205
  Message-Id: <patchbomb.180@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   206
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   207
  Date: Thu, 01 Jan 1970 00:03:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   208
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   209
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   210
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   211
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   212
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   213
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   214
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   215
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   216
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   217
  a multiline
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   218
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   219
  description
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   220
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   221
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   222
  Content-Type: application/x-mercurial-bundle
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   223
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   224
  Content-Disposition: attachment; filename="bundle.hg"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   225
  Content-Transfer-Encoding: base64
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   226
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   227
  SEcxMEJaaDkxQVkmU1nvR7I3AAAN////lFYQWj1/4HwRkdC/AywIAk0E4pfoSIIIgQCgGEQOcLAA
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   228
  2tA1VPyp4mkeoG0EaaPU0GTT1GjRiNPIg9CZGBqZ6UbU9J+KFU09DNUaGgAAAAAANAGgAAAAA1U8
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   229
  oGgAADQGgAANNANAAAAAAZipFLz3XoakCEQB3PVPyHJVi1iYkAAKQAZQGpQGZESInRnCFMqLDla2
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   230
  Bx3qfRQeA2N4lnzKkAmP8kR2asievLLXXebVU8Vg4iEBqcJNJAxIapSU6SM4888ZAciRG6MYAIEE
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   231
  SlIBpFisgGkyRjX//TMtfcUAEsGu56+YnE1OlTZmzKm8BSu2rvo4rHAYYaadIFFuTy0LYgIkgLVD
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   232
  sgVa2F19D1tx9+hgbAygLgQwaIqcDdgA4BjQgIiz/AEP72++llgDKhKducqodGE4B0ETqF3JFOFC
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   233
  Q70eyNw=
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   234
  --===*-- (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   235
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   236
utf-8 patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   237
  $ python -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   238
  $ hg commit -A -d '4 0' -m 'charset=utf-8; content-transfer-encoding: base64'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   239
  adding description
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   240
  adding utf
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   241
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   242
no mime encoding for email --test:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   243
  $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   244
  This patch series consists of 1 patches.
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   245
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   246
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   247
  Displaying [PATCH] charset=utf-8; content-transfer-encoding: base64 ...
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   248
  Content-Type: text/plain; charset="us-ascii"
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   249
  MIME-Version: 1.0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   250
  Content-Transfer-Encoding: 8bit
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   251
  Subject: [PATCH] charset=utf-8; content-transfer-encoding: base64
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   252
  X-Mercurial-Node: c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   253
  Message-Id: <c3c9e37db9f4fe4882cd.240@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   254
  User-Agent: Mercurial-patchbomb/* (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   255
  Date: Thu, 01 Jan 1970 00:04:00 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   256
  From: quux
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   257
  To: foo
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   258
  Cc: bar
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   259
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   260
  # HG changeset patch
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   261
  # User test
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   262
  # Date 4 0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   263
  # Node ID c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   264
  # Parent  ff2c9fa2018b15fa74b33363bda9527323e2a99f
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   265
  charset=utf-8; content-transfer-encoding: base64
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   266
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   267
  diff -r ff2c9fa2018b -r c3c9e37db9f4 description
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   268
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   269
  +++ b/description	Thu Jan 01 00:00:04 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   270
  @@ -0,0 +1,3 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   271
  +a multiline
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   272
  +
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   273
  +description
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   274
  diff -r ff2c9fa2018b -r c3c9e37db9f4 utf
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   275
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   276
  +++ b/utf	Thu Jan 01 00:00:04 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   277
  @@ -0,0 +1,1 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   278
  +h\xc3\xb6mma! (esc)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   279
  
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   280
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   281
mime encoded mbox (base64):
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   282
  $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   283
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   284
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   285
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   286
  Writing [PATCH] charset=utf-8; content-transfer-encoding: base64 ...
4420
b0656b33cc02 add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
   287
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   288
  $ cat mbox
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   289
  From quux Thu Jan 01 00:04:01 1970
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   290
  Content-Type: text/plain; charset="utf-8"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   291
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   292
  Content-Transfer-Encoding: base64
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   293
  Subject: [PATCH] charset=utf-8; content-transfer-encoding: base64
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   294
  X-Mercurial-Node: c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   295
  Message-Id: <c3c9e37db9f4fe4882cd.240@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
   296
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   297
  Date: Thu, 01 Jan 1970 00:04:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   298
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   299
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   300
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   301
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   302
  IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojIE5vZGUgSUQgYzNj
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   303
  OWUzN2RiOWY0ZmU0ODgyY2RhMzliYWY0MmZlZDZiYWQ4YjE1YQojIFBhcmVudCAgZmYyYzlmYTIw
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   304
  MThiMTVmYTc0YjMzMzYzYmRhOTUyNzMyM2UyYTk5ZgpjaGFyc2V0PXV0Zi04OyBjb250ZW50LXRy
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   305
  YW5zZmVyLWVuY29kaW5nOiBiYXNlNjQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIGMzYzllMzdk
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   306
  YjlmNCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3MCAr
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   307
  MDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAKQEAg
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   308
  LTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5ZmEy
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   309
  MDE4YiAtciBjM2M5ZTM3ZGI5ZjQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDowMDow
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   310
  MCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAKQEAg
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   311
  LTAsMCArMSwxIEBACitow7ZtbWEhCg==
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   312
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   313
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   314
  $ python -c 'print open("mbox").read().split("\n\n")[1].decode("base64")'
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   315
  # HG changeset patch
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   316
  # User test
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   317
  # Date 4 0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   318
  # Node ID c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   319
  # Parent  ff2c9fa2018b15fa74b33363bda9527323e2a99f
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   320
  charset=utf-8; content-transfer-encoding: base64
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   321
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   322
  diff -r ff2c9fa2018b -r c3c9e37db9f4 description
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   323
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   324
  +++ b/description	Thu Jan 01 00:00:04 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   325
  @@ -0,0 +1,3 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   326
  +a multiline
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   327
  +
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   328
  +description
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   329
  diff -r ff2c9fa2018b -r c3c9e37db9f4 utf
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   330
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   331
  +++ b/utf	Thu Jan 01 00:00:04 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   332
  @@ -0,0 +1,1 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   333
  +h\xc3\xb6mma! (esc)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   334
  
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   335
  $ rm mbox
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   336
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   337
mime encoded mbox (quoted-printable):
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   338
  $ python -c 'fp = open("qp", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   339
  $ hg commit -A -d '4 0' -m 'charset=utf-8; content-transfer-encoding: quoted-printable'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   340
  adding qp
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   341
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   342
no mime encoding for email --test:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   343
  $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   344
  This patch series consists of 1 patches.
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   345
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   346
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   347
  Displaying [PATCH] charset=utf-8; content-transfer-encoding: quoted-printable ...
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   348
  Content-Type: text/plain; charset="us-ascii"
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   349
  MIME-Version: 1.0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   350
  Content-Transfer-Encoding: quoted-printable
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   351
  Subject: [PATCH] charset=utf-8; content-transfer-encoding: quoted-printable
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   352
  X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   353
  Message-Id: <c655633f8c87700bb38c.240@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   354
  User-Agent: Mercurial-patchbomb/* (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   355
  Date: Thu, 01 Jan 1970 00:04:00 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   356
  From: quux
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   357
  To: foo
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   358
  Cc: bar
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   359
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   360
  # HG changeset patch
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   361
  # User test
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   362
  # Date 4 0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   363
  # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   364
  # Parent  c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   365
  charset=3Dutf-8; content-transfer-encoding: quoted-printable
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   366
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   367
  diff -r c3c9e37db9f4 -r c655633f8c87 qp
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   368
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   369
  +++ b/qp	Thu Jan 01 00:00:04 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   370
  @@ -0,0 +1,4 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   371
  +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   372
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   373
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   374
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   375
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   376
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   377
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   378
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   379
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   380
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   381
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   382
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   383
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   384
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   385
  +foo
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   386
  +
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   387
  +bar
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   388
  
4420
b0656b33cc02 add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
   389
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   390
mime encoded mbox (quoted-printable):
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   391
  $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   392
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   393
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   394
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   395
  Writing [PATCH] charset=utf-8; content-transfer-encoding: quoted-printable ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   396
  $ cat mbox
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   397
  From quux Thu Jan 01 00:04:01 1970
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   398
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   399
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   400
  Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   401
  Subject: [PATCH] charset=utf-8; content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   402
  X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   403
  Message-Id: <c655633f8c87700bb38c.240@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   404
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   405
  Date: Thu, 01 Jan 1970 00:04:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   406
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   407
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   408
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   409
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   410
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   411
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   412
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   413
  # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   414
  # Parent  c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   415
  charset=3Dutf-8; content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   416
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   417
  diff -r c3c9e37db9f4 -r c655633f8c87 qp
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   418
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   419
  +++ b/qp	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   420
  @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   421
  +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   422
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   423
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   424
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   425
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   426
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   427
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   428
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   429
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   430
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   431
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   432
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   433
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   434
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   435
  +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   436
  +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   437
  +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   438
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   439
  
4565
1cf908c00479 Don't validate email config if we're not sending email.
Bryan O'Sullivan <bos@serpentine.com>
parents: 4420
diff changeset
   440
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   441
  $ rm mbox
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
   442
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   443
iso-8859-1 patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   444
  $ python -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   445
  $ hg commit -A -d '5 0' -m 'charset=us-ascii; content-transfer-encoding: 8bit'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   446
  adding isolatin
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   447
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   448
fake ascii mbox:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   449
  $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   450
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   451
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   452
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   453
  Writing [PATCH] charset=us-ascii; content-transfer-encoding: 8bit ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   454
  $ cat mbox
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   455
  From quux Thu Jan 01 00:05:01 1970
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   456
  Content-Type: text/plain; charset="us-ascii"
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   457
  MIME-Version: 1.0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   458
  Content-Transfer-Encoding: 8bit
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   459
  Subject: [PATCH] charset=us-ascii; content-transfer-encoding: 8bit
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   460
  X-Mercurial-Node: 22d0f96be12f5945fd67d101af58f7bc8263c835
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   461
  Message-Id: <22d0f96be12f5945fd67.300@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   462
  User-Agent: Mercurial-patchbomb/* (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   463
  Date: Thu, 01 Jan 1970 00:05:00 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   464
  From: quux
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   465
  To: foo
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   466
  Cc: bar
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   467
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   468
  # HG changeset patch
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   469
  # User test
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   470
  # Date 5 0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   471
  # Node ID 22d0f96be12f5945fd67d101af58f7bc8263c835
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   472
  # Parent  c655633f8c87700bb38cc6a59a2753bdc5a6c376
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   473
  charset=us-ascii; content-transfer-encoding: 8bit
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   474
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   475
  diff -r c655633f8c87 -r 22d0f96be12f isolatin
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   476
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   477
  +++ b/isolatin	Thu Jan 01 00:00:05 1970 +0000
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   478
  @@ -0,0 +1,1 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   479
  +h\xf6mma! (esc)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   480
  
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   481
  
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
   482
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   483
test diffstat for single patch:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   484
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   485
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   486
  
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   487
  
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   488
  Final summary:
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   489
  
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   490
  From: quux
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   491
  To: foo
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   492
  Cc: bar
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   493
  Subject: [PATCH] test
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   494
   c |  1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   495
   1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   496
  
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   497
  are you sure you want to send (yn)? y
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   498
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   499
  Displaying [PATCH] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   500
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   501
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   502
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   503
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   504
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   505
  Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   506
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   507
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   508
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   509
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   510
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   511
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   512
   c |  1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   513
   1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   514
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   515
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   516
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   517
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   518
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   519
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   520
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   521
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   522
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   523
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   524
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   525
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   526
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   527
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   528
  
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
   529
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   530
test diffstat for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   531
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   532
  >  -r 0:1
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   533
  This patch series consists of 2 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   534
  
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   535
  
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   536
  Write the introductory message for the patch series.
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   537
  
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   538
  
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   539
  Final summary:
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   540
  
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   541
  From: quux
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   542
  To: foo
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   543
  Cc: bar
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   544
  Subject: [PATCH 0 of 2] test
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   545
   a |  1 +
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   546
   b |  1 +
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   547
   2 files changed, 2 insertions(+), 0 deletions(-)
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   548
  Subject: [PATCH 1 of 2] a
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   549
   a |  1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   550
   1 files changed, 1 insertions(+), 0 deletions(-)
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   551
  Subject: [PATCH 2 of 2] b
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   552
   b |  1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   553
   1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   554
  
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
   555
  are you sure you want to send (yn)? y
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   556
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   557
  Displaying [PATCH 0 of 2] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   558
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   559
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   560
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   561
  Subject: [PATCH 0 of 2] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   562
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   563
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   564
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   565
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   566
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   567
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   568
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   569
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   570
   a |  1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   571
   b |  1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   572
   2 files changed, 2 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   573
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   574
  Displaying [PATCH 1 of 2] a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   575
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   576
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   577
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   578
  Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   579
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   580
  Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   581
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   582
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   583
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   584
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   585
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   586
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   587
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   588
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   589
   a |  1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   590
   1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   591
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   592
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   593
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   594
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   595
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   596
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   597
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   598
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   599
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   600
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   601
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   602
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   603
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   604
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   605
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   606
  Displaying [PATCH 2 of 2] b ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   607
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   608
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   609
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   610
  Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   611
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   612
  Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   613
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   614
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   615
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   616
  Date: Thu, 01 Jan 1970 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   617
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   618
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   619
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   620
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   621
   b |  1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   622
   1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   623
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   624
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   625
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   626
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   627
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   628
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   629
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   630
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   631
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   632
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   633
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   634
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   635
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   636
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   637
  
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
   638
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   639
test inline for single patch:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   640
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   641
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   642
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   643
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   644
  Displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   645
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   646
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   647
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   648
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   649
  Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   650
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   651
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   652
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   653
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   654
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   655
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   656
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   657
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   658
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   659
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   660
  Content-Disposition: inline; filename=t2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   661
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   662
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   663
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   664
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   665
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   666
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   667
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   668
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   669
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   670
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   671
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   672
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   673
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   674
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   675
  --===*-- (glob)
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
   676
7193
12fc42c78598 mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents: 5753
diff changeset
   677
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   678
test inline for single patch (quoted-printable):
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   679
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   680
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   681
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   682
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   683
  Displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   684
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   685
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   686
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   687
  X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   688
  Message-Id: <c655633f8c87700bb38c.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   689
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   690
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   691
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   692
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   693
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   694
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   695
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   696
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   697
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   698
  Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   699
  Content-Disposition: inline; filename=t2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   700
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   701
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   702
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   703
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   704
  # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   705
  # Parent  c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   706
  charset=3Dutf-8; content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   707
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   708
  diff -r c3c9e37db9f4 -r c655633f8c87 qp
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   709
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   710
  +++ b/qp	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   711
  @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   712
  +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   713
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   714
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   715
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   716
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   717
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   718
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   719
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   720
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   721
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   722
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   723
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   724
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   725
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   726
  +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   727
  +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   728
  +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   729
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   730
  --===*-- (glob)
8332
3e544c074459 patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents: 8160
diff changeset
   731
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   732
test inline for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   733
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   734
  >  -r 0:1 -r 4
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   735
  This patch series consists of 3 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   736
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   737
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   738
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   739
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   740
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   741
  Displaying [PATCH 0 of 3] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   742
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   743
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   744
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   745
  Subject: [PATCH 0 of 3] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   746
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   747
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   748
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   749
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   750
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   751
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   752
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   753
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   754
  Displaying [PATCH 1 of 3] a ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   755
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   756
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   757
  Subject: [PATCH 1 of 3] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   758
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   759
  Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   760
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   761
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   762
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   763
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   764
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   765
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   766
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   767
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   768
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   769
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   770
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   771
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   772
  Content-Disposition: inline; filename=t2-1.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   773
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   774
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   775
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   776
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   777
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   778
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   779
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   780
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   781
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   782
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   783
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   784
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   785
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   786
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   787
  --===*-- (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   788
  Displaying [PATCH 2 of 3] b ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   789
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   790
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   791
  Subject: [PATCH 2 of 3] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   792
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   793
  Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   794
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   795
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   796
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   797
  Date: Thu, 01 Jan 1970 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   798
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   799
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   800
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   801
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   802
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   803
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   804
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   805
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   806
  Content-Disposition: inline; filename=t2-2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   807
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   808
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   809
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   810
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   811
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   812
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   813
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   814
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   815
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   816
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   817
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   818
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   819
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   820
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   821
  --===*-- (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   822
  Displaying [PATCH 3 of 3] charset=utf-8; content-transfer-encoding: quoted-printable ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   823
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   824
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   825
  Subject: [PATCH 3 of 3] charset=utf-8;
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   826
   content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   827
  X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   828
  Message-Id: <c655633f8c87700bb38c.63@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   829
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   830
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   831
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   832
  Date: Thu, 01 Jan 1970 00:01:03 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   833
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   834
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   835
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   836
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   837
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   838
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   839
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   840
  Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   841
  Content-Disposition: inline; filename=t2-3.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   842
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   843
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   844
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   845
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   846
  # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   847
  # Parent  c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   848
  charset=3Dutf-8; content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   849
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   850
  diff -r c3c9e37db9f4 -r c655633f8c87 qp
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   851
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   852
  +++ b/qp	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   853
  @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   854
  +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   855
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   856
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   857
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   858
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   859
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   860
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   861
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   862
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   863
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   864
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   865
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   866
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   867
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   868
  +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   869
  +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   870
  +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   871
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   872
  --===*-- (glob)
8332
3e544c074459 patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents: 8160
diff changeset
   873
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   874
test attach for single patch:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   875
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   876
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   877
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   878
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   879
  Displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   880
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   881
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   882
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   883
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   884
  Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   885
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   886
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   887
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   888
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   889
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   890
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   891
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   892
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   893
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   894
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   895
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   896
  Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   897
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   898
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   899
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   900
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   901
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   902
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   903
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   904
  Content-Disposition: attachment; filename=t2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   905
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   906
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   907
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   908
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   909
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   910
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   911
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   912
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   913
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   914
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   915
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   916
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   917
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   918
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   919
  --===*-- (glob)
8332
3e544c074459 patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents: 8160
diff changeset
   920
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   921
test attach for single patch (quoted-printable):
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   922
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   923
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   924
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   925
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   926
  Displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   927
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   928
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   929
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   930
  X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   931
  Message-Id: <c655633f8c87700bb38c.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   932
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   933
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   934
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   935
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   936
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   937
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   938
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   939
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   940
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   941
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   942
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   943
  Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   944
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   945
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   946
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   947
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   948
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   949
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   950
  Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   951
  Content-Disposition: attachment; filename=t2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   952
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   953
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   954
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   955
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   956
  # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   957
  # Parent  c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   958
  charset=3Dutf-8; content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   959
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   960
  diff -r c3c9e37db9f4 -r c655633f8c87 qp
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   961
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   962
  +++ b/qp	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   963
  @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   964
  +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   965
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   966
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   967
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   968
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   969
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   970
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   971
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   972
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   973
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   974
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   975
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   976
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   977
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   978
  +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   979
  +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   980
  +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   981
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   982
  --===*-- (glob)
7193
12fc42c78598 mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents: 5753
diff changeset
   983
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   984
test attach for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   985
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   986
  >  -r 0:1 -r 4
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   987
  This patch series consists of 3 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   988
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   989
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   990
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   991
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   992
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   993
  Displaying [PATCH 0 of 3] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   994
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   995
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   996
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
   997
  Subject: [PATCH 0 of 3] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   998
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
   999
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1000
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1001
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1002
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1003
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1004
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1005
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1006
  Displaying [PATCH 1 of 3] a ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1007
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1008
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1009
  Subject: [PATCH 1 of 3] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1010
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1011
  Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1012
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1013
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1014
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1015
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1016
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1017
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1018
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1019
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1020
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1021
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1022
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1023
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1024
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1025
  Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1026
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1027
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1028
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1029
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1030
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1031
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1032
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1033
  Content-Disposition: attachment; filename=t2-1.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1034
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1035
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1036
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1037
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1038
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1039
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1040
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1041
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1042
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1043
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1044
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1045
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1046
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1047
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1048
  --===*-- (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1049
  Displaying [PATCH 2 of 3] b ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1050
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1051
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1052
  Subject: [PATCH 2 of 3] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1053
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1054
  Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1055
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1056
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1057
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1058
  Date: Thu, 01 Jan 1970 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1059
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1060
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1061
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1062
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1063
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1064
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1065
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1066
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1067
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1068
  Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1069
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1070
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1071
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1072
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1073
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1074
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1075
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1076
  Content-Disposition: attachment; filename=t2-2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1077
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1078
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1079
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1080
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1081
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1082
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1083
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1084
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1085
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1086
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1087
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1088
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1089
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1090
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1091
  --===*-- (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1092
  Displaying [PATCH 3 of 3] charset=utf-8; content-transfer-encoding: quoted-printable ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1093
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1094
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1095
  Subject: [PATCH 3 of 3] charset=utf-8;
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1096
   content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1097
  X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1098
  Message-Id: <c655633f8c87700bb38c.63@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1099
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1100
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1101
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1102
  Date: Thu, 01 Jan 1970 00:01:03 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1103
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1104
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1105
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1106
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1107
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1108
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1109
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1110
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1111
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1112
  Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1113
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1114
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1115
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1116
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1117
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1118
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1119
  Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1120
  Content-Disposition: attachment; filename=t2-3.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1121
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1122
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1123
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1124
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1125
  # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1126
  # Parent  c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1127
  charset=3Dutf-8; content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1128
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1129
  diff -r c3c9e37db9f4 -r c655633f8c87 qp
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1130
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1131
  +++ b/qp	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1132
  @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1133
  +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1134
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1135
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1136
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1137
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1138
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1139
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1140
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1141
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1142
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1143
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1144
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1145
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1146
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1147
  +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1148
  +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1149
  +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1150
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1151
  --===*-- (glob)
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
  1152
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1153
test intro for single patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1154
  $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1155
  >  -r 2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1156
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1157
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1158
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1159
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1160
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1161
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1162
  Displaying [PATCH 0 of 1] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1163
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1164
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1165
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1166
  Subject: [PATCH 0 of 1] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1167
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1168
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1169
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1170
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1171
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1172
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1173
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1174
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1175
  Displaying [PATCH 1 of 1] c ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1176
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1177
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1178
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1179
  Subject: [PATCH 1 of 1] c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1180
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1181
  Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1182
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1183
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1184
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1185
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1186
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1187
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1188
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1189
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1190
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1191
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1192
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1193
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1194
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1195
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1196
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1197
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1198
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1199
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1200
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1201
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1202
  
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
  1203
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1204
test --desc without --intro for a single patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1205
  $ echo foo > intro.text
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1206
  $ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1207
  >  -s test -r 2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1208
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1209
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1210
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1211
  Displaying [PATCH 0 of 1] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1212
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1213
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1214
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1215
  Subject: [PATCH 0 of 1] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1216
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1217
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1218
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1219
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1220
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1221
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1222
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1223
  foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1224
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1225
  Displaying [PATCH 1 of 1] c ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1226
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1227
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1228
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1229
  Subject: [PATCH 1 of 1] c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1230
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1231
  Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1232
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1233
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1234
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1235
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1236
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1237
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1238
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1239
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1240
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1241
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1242
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1243
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1244
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1245
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1246
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1247
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1248
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1249
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1250
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1251
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1252
  
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
  1253
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1254
test intro for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1255
  $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1256
  >  -r 0:1
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1257
  This patch series consists of 2 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1258
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1259
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1260
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1261
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1262
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1263
  Displaying [PATCH 0 of 2] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1264
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1265
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1266
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1267
  Subject: [PATCH 0 of 2] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1268
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1269
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1270
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1271
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1272
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1273
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1274
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1275
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1276
  Displaying [PATCH 1 of 2] a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1277
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1278
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1279
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1280
  Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1281
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1282
  Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1283
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1284
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1285
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1286
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1287
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1288
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1289
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1290
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1291
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1292
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1293
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1294
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1295
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1296
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1297
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1298
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1299
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1300
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1301
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1302
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1303
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1304
  Displaying [PATCH 2 of 2] b ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1305
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1306
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1307
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1308
  Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1309
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1310
  Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1311
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1312
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1313
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1314
  Date: Thu, 01 Jan 1970 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1315
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1316
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1317
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1318
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1319
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1320
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1321
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1322
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1323
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1324
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1325
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1326
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1327
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1328
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1329
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1330
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1331
  
8332
3e544c074459 patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents: 8160
diff changeset
  1332
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1333
test reply-to via config:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1334
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1335
  >  --config patchbomb.reply-to='baz@example.com'
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1336
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1337
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1338
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1339
  Displaying [PATCH] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1340
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1341
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1342
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1343
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1344
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1345
  Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1346
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1347
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1348
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1349
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1350
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1351
  Reply-To: baz@example.com
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1352
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1353
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1354
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1355
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1356
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1357
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1358
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1359
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1360
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1361
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1362
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1363
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1364
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1365
  
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
  1366
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1367
test reply-to via command line:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1368
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1369
  >  --reply-to baz --reply-to fred
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1370
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1371
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1372
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1373
  Displaying [PATCH] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1374
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1375
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1376
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1377
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1378
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1379
  Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1380
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1381
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1382
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1383
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1384
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1385
  Reply-To: baz, fred
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1386
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1387
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1388
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1389
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1390
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1391
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1392
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1393
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1394
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1395
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1396
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1397
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1398
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1399
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1400
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1401
tagging csets:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1402
  $ hg tag -r0 zero zero.foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1403
  $ hg tag -r1 one one.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1404
  $ hg tag -r2 two two.diff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1405
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1406
test inline for single named patch:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1407
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1408
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1409
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1410
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1411
  Displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1412
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1413
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1414
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1415
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1416
  Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1417
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1418
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1419
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1420
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1421
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1422
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1423
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1424
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1425
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1426
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1427
  Content-Disposition: inline; filename=two.diff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1428
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1429
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1430
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1431
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1432
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1433
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1434
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1435
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1436
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1437
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1438
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1439
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1440
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1441
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1442
  --===*-- (glob)
7360
42f1b8cb9a60 patchbomb: add option to send intro email for a single patch (issue1120)
Chris Winter <elwintro@gmail.com>
parents: 7358
diff changeset
  1443
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1444
test inline for multiple named/unnamed patches:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1445
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 0:1
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1446
  This patch series consists of 2 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1447
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1448
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1449
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1450
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1451
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1452
  Displaying [PATCH 0 of 2] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1453
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1454
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1455
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1456
  Subject: [PATCH 0 of 2] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1457
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1458
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1459
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1460
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1461
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1462
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1463
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1464
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1465
  Displaying [PATCH 1 of 2] a ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1466
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1467
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1468
  Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1469
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1470
  Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1471
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1472
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1473
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1474
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1475
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1476
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1477
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1478
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1479
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1480
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1481
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1482
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1483
  Content-Disposition: inline; filename=t2-1.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1484
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1485
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1486
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1487
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1488
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1489
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1490
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1491
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1492
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1493
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1494
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1495
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1496
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1497
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1498
  --===*-- (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1499
  Displaying [PATCH 2 of 2] b ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1500
  Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1501
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1502
  Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1503
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1504
  Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1505
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1506
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1507
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1508
  Date: Thu, 01 Jan 1970 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1509
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1510
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1511
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1512
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1513
  --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1514
  Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1515
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1516
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1517
  Content-Disposition: inline; filename=one.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1518
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1519
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1520
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1521
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1522
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1523
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1524
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1525
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1526
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1527
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1528
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1529
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1530
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1531
  
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1532
  --===*-- (glob)
10734
7a0502a6f9a1 patchbomb: --desc implies --intro
Cédric Duval <cedricduval@free.fr>
parents: 10257
diff changeset
  1533
11150
f66ca4431eb9 patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents: 10734
diff changeset
  1534
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1535
test inreplyto:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1536
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1537
  >  -r tip
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1538
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1539
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1540
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1541
  Displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1542
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1543
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1544
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1545
  Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1546
  X-Mercurial-Node: e317db6a6f288748d1f6cb064f3810fcba66b1b6
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1547
  Message-Id: <e317db6a6f288748d1f6.60@*> (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1548
  In-Reply-To: <baz>
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1549
  References: <baz>
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1550
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1551
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1552
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1553
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1554
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1555
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1556
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1557
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1558
  # Date 0 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1559
  # Node ID e317db6a6f288748d1f6cb064f3810fcba66b1b6
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1560
  # Parent  eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1561
  Added tag two, two.diff for changeset ff2c9fa2018b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1562
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1563
  diff -r eae5fcf795ee -r e317db6a6f28 .hgtags
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1564
  --- a/.hgtags	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1565
  +++ b/.hgtags	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1566
  @@ -2,3 +2,5 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1567
   8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1568
   97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1569
   97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1570
  +ff2c9fa2018b15fa74b33363bda9527323e2a99f two
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1571
  +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1572
  
15164
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1573
no intro message in non-interactive mode
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1574
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1575
  >  -r 0:1
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1576
  This patch series consists of 2 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1577
  
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
  1578
  Subject: [PATCH 0 of 2] 
15164
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1579
  
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1580
  Displaying [PATCH 1 of 2] a ...
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1581
  Content-Type: text/plain; charset="us-ascii"
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1582
  MIME-Version: 1.0
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1583
  Content-Transfer-Encoding: 7bit
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1584
  Subject: [PATCH 1 of 2] a
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1585
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1586
  Message-Id: <8580ff50825a50c8f716.60@*> (glob)
15164
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1587
  In-Reply-To: <baz>
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1588
  References: <baz>
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1589
  User-Agent: Mercurial-patchbomb/* (glob)
15164
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1590
  Date: Thu, 01 Jan 1970 00:01:00 +0000
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1591
  From: quux
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1592
  To: foo
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1593
  Cc: bar
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1594
  
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1595
  # HG changeset patch
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1596
  # User test
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1597
  # Date 1 0
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1598
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1599
  # Parent  0000000000000000000000000000000000000000
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1600
  a
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1601
  
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1602
  diff -r 000000000000 -r 8580ff50825a a
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1603
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1604
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1605
  @@ -0,0 +1,1 @@
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1606
  +a
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1607
  
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1608
  Displaying [PATCH 2 of 2] b ...
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1609
  Content-Type: text/plain; charset="us-ascii"
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1610
  MIME-Version: 1.0
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1611
  Content-Transfer-Encoding: 7bit
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1612
  Subject: [PATCH 2 of 2] b
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1613
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1614
  Message-Id: <97d72e5f12c7e84f8506.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1615
  In-Reply-To: <8580ff50825a50c8f716.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1616
  References: <8580ff50825a50c8f716.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1617
  User-Agent: Mercurial-patchbomb/* (glob)
15164
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1618
  Date: Thu, 01 Jan 1970 00:01:01 +0000
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1619
  From: quux
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1620
  To: foo
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1621
  Cc: bar
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1622
  
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1623
  # HG changeset patch
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1624
  # User test
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1625
  # Date 2 0
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1626
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1627
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1628
  b
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1629
  
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1630
  diff -r 8580ff50825a -r 97d72e5f12c7 b
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1631
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1632
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1633
  @@ -0,0 +1,1 @@
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1634
  +b
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1635
  
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1636
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
  1637
11150
f66ca4431eb9 patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents: 10734
diff changeset
  1638
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1639
  $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1640
  >  -s test -r 0:1
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1641
  This patch series consists of 2 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1642
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1643
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1644
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1645
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1646
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1647
  Displaying [PATCH 0 of 2] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1648
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1649
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1650
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1651
  Subject: [PATCH 0 of 2] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1652
  Message-Id: <patchbomb.60@*> (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1653
  In-Reply-To: <baz>
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1654
  References: <baz>
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1655
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1656
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1657
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1658
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1659
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1660
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1661
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1662
  Displaying [PATCH 1 of 2] a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1663
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1664
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1665
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1666
  Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1667
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1668
  Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1669
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1670
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1671
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1672
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1673
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1674
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1675
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1676
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1677
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1678
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1679
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1680
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1681
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1682
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1683
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1684
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1685
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1686
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1687
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1688
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1689
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1690
  Displaying [PATCH 2 of 2] b ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1691
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1692
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1693
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1694
  Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1695
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1696
  Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1697
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1698
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1699
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1700
  Date: Thu, 01 Jan 1970 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1701
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1702
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1703
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1704
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1705
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1706
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1707
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1708
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1709
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1710
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1711
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1712
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1713
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1714
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1715
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1716
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1717
  
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
  1718
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1719
test single flag for single patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1720
  $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1721
  >  -r 2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1722
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1723
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1724
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1725
  Displaying [PATCH fooFlag] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1726
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1727
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1728
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1729
  Subject: [PATCH fooFlag] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1730
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1731
  Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1732
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1733
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1734
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1735
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1736
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1737
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1738
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1739
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1740
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1741
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1742
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1743
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1744
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1745
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1746
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1747
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1748
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1749
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1750
  
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
  1751
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1752
test single flag for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1753
  $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1754
  >  -r 0:1
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1755
  This patch series consists of 2 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1756
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1757
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1758
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1759
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1760
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1761
  Displaying [PATCH 0 of 2 fooFlag] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1762
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1763
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1764
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1765
  Subject: [PATCH 0 of 2 fooFlag] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1766
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1767
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1768
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1769
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1770
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1771
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1772
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1773
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1774
  Displaying [PATCH 1 of 2 fooFlag] a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1775
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1776
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1777
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1778
  Subject: [PATCH 1 of 2 fooFlag] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1779
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1780
  Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1781
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1782
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1783
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1784
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1785
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1786
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1787
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1788
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1789
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1790
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1791
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1792
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1793
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1794
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1795
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1796
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1797
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1798
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1799
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1800
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1801
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1802
  Displaying [PATCH 2 of 2 fooFlag] b ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1803
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1804
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1805
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1806
  Subject: [PATCH 2 of 2 fooFlag] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1807
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1808
  Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1809
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1810
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1811
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1812
  Date: Thu, 01 Jan 1970 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1813
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1814
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1815
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1816
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1817
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1818
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1819
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1820
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1821
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1822
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1823
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1824
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1825
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1826
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1827
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1828
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1829
  
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
  1830
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1831
test mutiple flags for single patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1832
  $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1833
  >  -c bar -s test -r 2
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1834
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1835
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1836
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1837
  Displaying [PATCH fooFlag barFlag] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1838
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1839
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1840
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1841
  Subject: [PATCH fooFlag barFlag] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1842
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1843
  Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1844
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1845
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1846
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1847
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1848
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1849
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1850
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1851
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1852
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1853
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1854
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1855
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1856
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1857
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1858
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1859
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1860
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1861
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1862
  
9346
bb3f8f692bc6 patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 8514
diff changeset
  1863
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1864
test multiple flags for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1865
  $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1866
  >  -c bar -s test -r 0:1
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1867
  This patch series consists of 2 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1868
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1869
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1870
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1871
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1872
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1873
  Displaying [PATCH 0 of 2 fooFlag barFlag] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1874
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1875
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1876
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1877
  Subject: [PATCH 0 of 2 fooFlag barFlag] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1878
  Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1879
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1880
  Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1881
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1882
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1883
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1884
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1885
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1886
  Displaying [PATCH 1 of 2 fooFlag barFlag] a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1887
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1888
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1889
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1890
  Subject: [PATCH 1 of 2 fooFlag barFlag] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1891
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1892
  Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1893
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1894
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1895
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1896
  Date: Thu, 01 Jan 1970 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1897
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1898
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1899
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1900
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1901
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1902
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1903
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1904
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1905
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1906
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1907
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1908
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1909
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1910
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1911
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1912
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1913
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1914
  Displaying [PATCH 2 of 2 fooFlag barFlag] b ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1915
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1916
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1917
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1918
  Subject: [PATCH 2 of 2 fooFlag barFlag] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1919
  X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1920
  Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1921
  In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1922
  References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1923
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1924
  Date: Thu, 01 Jan 1970 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1925
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1926
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1927
  Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1928
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1929
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1930
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1931
  # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1932
  # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1933
  # Parent  8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1934
  b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1935
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1936
  diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1937
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1938
  +++ b/b	Thu Jan 01 00:00:02 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1939
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1940
  +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1941
  
9346
bb3f8f692bc6 patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 8514
diff changeset
  1942
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1943
test multi-address parsing:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1944
  $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1945
  >  -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1946
  >  --config email.bcc='"Quux, A." <quux>'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1947
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1948
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1949
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1950
  Writing [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1951
  $ cat < tmp.mbox
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1952
  From quux Tue Jan 01 00:01:01 1980
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1953
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1954
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1955
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1956
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1957
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1958
  Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1959
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1960
  Date: Tue, 01 Jan 1980 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1961
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1962
  To: spam <spam>, eggs, toast
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1963
  Cc: foo, bar@example.com, "A, B <>" <a@example.com>
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1964
  Bcc: "Quux, A." <quux>
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1965
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1966
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1967
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1968
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1969
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1970
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1971
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1972
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1973
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1974
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1975
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1976
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1977
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1978
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1979
  
9346
bb3f8f692bc6 patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 8514
diff changeset
  1980
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1981
test multi-byte domain parsing:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1982
  $ UUML=`python -c 'import sys; sys.stdout.write("\374")'`
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1983
  $ HGENCODING=iso-8859-1
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1984
  $ export HGENCODING
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1985
  $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1986
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1987
  
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
  1988
  Cc: 
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1989
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1990
  Writing [PATCH] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1991
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1992
  $ cat tmp.mbox
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1993
  From quux Tue Jan 01 00:01:01 1980
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1994
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1995
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1996
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1997
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  1998
  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  1999
  Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2000
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2001
  Date: Tue, 01 Jan 1980 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2002
  From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2003
  To: bar@xn--nicode-2ya.com
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2004
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2005
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2006
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2007
  # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2008
  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2009
  # Parent  0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2010
  a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2011
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2012
  diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2013
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2014
  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2015
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2016
  +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2017
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2018
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2019
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2020
test outgoing:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2021
  $ hg up 1
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2022
  0 files updated, 0 files merged, 6 files removed, 0 files unresolved
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2023
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2024
  $ hg branch test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2025
  marked working directory as branch test
9346
bb3f8f692bc6 patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 8514
diff changeset
  2026
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2027
  $ echo d > d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2028
  $ hg add d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2029
  $ hg ci -md -d '4 0'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2030
  $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2031
  comparing with ../t
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2032
  searching for changes
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
  2033
  From [test]: test
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2034
  This patch series consists of 8 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2035
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2036
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2037
  Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2038
  
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
  2039
  Cc: 
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2040
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2041
  Displaying [PATCH 0 of 8] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2042
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2043
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2044
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2045
  Subject: [PATCH 0 of 8] test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2046
  Message-Id: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2047
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2048
  Date: Tue, 01 Jan 1980 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2049
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2050
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2051
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2052
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2053
  Displaying [PATCH 1 of 8] c ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2054
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2055
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2056
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2057
  Subject: [PATCH 1 of 8] c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2058
  X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2059
  Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2060
  In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2061
  References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2062
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2063
  Date: Tue, 01 Jan 1980 00:01:01 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2064
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2065
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2066
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2067
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2068
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2069
  # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2070
  # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2071
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2072
  c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2073
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2074
  diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2075
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2076
  +++ b/c	Thu Jan 01 00:00:03 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2077
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2078
  +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2079
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2080
  Displaying [PATCH 2 of 8] charset=utf-8; content-transfer-encoding: base64 ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2081
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2082
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2083
  Content-Transfer-Encoding: 8bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2084
  Subject: [PATCH 2 of 8] charset=utf-8; content-transfer-encoding: base64
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2085
  X-Mercurial-Node: c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2086
  Message-Id: <c3c9e37db9f4fe4882cd.315532862@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2087
  In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2088
  References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2089
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2090
  Date: Tue, 01 Jan 1980 00:01:02 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2091
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2092
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2093
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2094
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2095
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2096
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2097
  # Node ID c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2098
  # Parent  ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2099
  charset=utf-8; content-transfer-encoding: base64
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2100
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2101
  diff -r ff2c9fa2018b -r c3c9e37db9f4 description
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2102
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2103
  +++ b/description	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2104
  @@ -0,0 +1,3 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2105
  +a multiline
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2106
  +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2107
  +description
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2108
  diff -r ff2c9fa2018b -r c3c9e37db9f4 utf
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2109
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2110
  +++ b/utf	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2111
  @@ -0,0 +1,1 @@
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12941
diff changeset
  2112
  +h\xc3\xb6mma! (esc)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2113
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2114
  Displaying [PATCH 3 of 8] charset=utf-8; content-transfer-encoding: quoted-printable ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2115
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2116
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2117
  Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2118
  Subject: [PATCH 3 of 8] charset=utf-8;
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2119
   content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2120
  X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2121
  Message-Id: <c655633f8c87700bb38c.315532863@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2122
  In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2123
  References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2124
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2125
  Date: Tue, 01 Jan 1980 00:01:03 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2126
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2127
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2128
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2129
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2130
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2131
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2132
  # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2133
  # Parent  c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2134
  charset=3Dutf-8; content-transfer-encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2135
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2136
  diff -r c3c9e37db9f4 -r c655633f8c87 qp
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2137
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2138
  +++ b/qp	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2139
  @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2140
  +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2141
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2142
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2143
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2144
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2145
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2146
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2147
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2148
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2149
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2150
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2151
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2152
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2153
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2154
  +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2155
  +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2156
  +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2157
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2158
  Displaying [PATCH 4 of 8] charset=us-ascii; content-transfer-encoding: 8bit ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2159
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2160
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2161
  Content-Transfer-Encoding: 8bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2162
  Subject: [PATCH 4 of 8] charset=us-ascii; content-transfer-encoding: 8bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2163
  X-Mercurial-Node: 22d0f96be12f5945fd67d101af58f7bc8263c835
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2164
  Message-Id: <22d0f96be12f5945fd67.315532864@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2165
  In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2166
  References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2167
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2168
  Date: Tue, 01 Jan 1980 00:01:04 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2169
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2170
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2171
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2172
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2173
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2174
  # Date 5 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2175
  # Node ID 22d0f96be12f5945fd67d101af58f7bc8263c835
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2176
  # Parent  c655633f8c87700bb38cc6a59a2753bdc5a6c376
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2177
  charset=us-ascii; content-transfer-encoding: 8bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2178
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2179
  diff -r c655633f8c87 -r 22d0f96be12f isolatin
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2180
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2181
  +++ b/isolatin	Thu Jan 01 00:00:05 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2182
  @@ -0,0 +1,1 @@
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12941
diff changeset
  2183
  +h\xf6mma! (esc)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2184
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2185
  Displaying [PATCH 5 of 8] Added tag zero, zero.foo for changeset 8580ff50825a ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2186
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2187
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2188
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2189
  Subject: [PATCH 5 of 8] Added tag zero, zero.foo for changeset 8580ff50825a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2190
  X-Mercurial-Node: dd9c2b4b8a8a0934d5523c15f2c119b362360903
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2191
  Message-Id: <dd9c2b4b8a8a0934d552.315532865@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2192
  In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2193
  References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2194
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2195
  Date: Tue, 01 Jan 1980 00:01:05 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2196
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2197
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2198
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2199
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2200
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2201
  # Date 0 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2202
  # Node ID dd9c2b4b8a8a0934d5523c15f2c119b362360903
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2203
  # Parent  22d0f96be12f5945fd67d101af58f7bc8263c835
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2204
  Added tag zero, zero.foo for changeset 8580ff50825a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2205
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2206
  diff -r 22d0f96be12f -r dd9c2b4b8a8a .hgtags
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2207
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2208
  +++ b/.hgtags	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2209
  @@ -0,0 +1,2 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2210
  +8580ff50825a50c8f716709acdf8de0deddcd6ab zero
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2211
  +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2212
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2213
  Displaying [PATCH 6 of 8] Added tag one, one.patch for changeset 97d72e5f12c7 ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2214
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2215
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2216
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2217
  Subject: [PATCH 6 of 8] Added tag one, one.patch for changeset 97d72e5f12c7
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2218
  X-Mercurial-Node: eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2219
  Message-Id: <eae5fcf795eee29d0e45.315532866@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2220
  In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2221
  References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2222
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2223
  Date: Tue, 01 Jan 1980 00:01:06 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2224
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2225
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2226
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2227
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2228
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2229
  # Date 0 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2230
  # Node ID eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2231
  # Parent  dd9c2b4b8a8a0934d5523c15f2c119b362360903
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2232
  Added tag one, one.patch for changeset 97d72e5f12c7
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2233
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2234
  diff -r dd9c2b4b8a8a -r eae5fcf795ee .hgtags
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2235
  --- a/.hgtags	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2236
  +++ b/.hgtags	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2237
  @@ -1,2 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2238
   8580ff50825a50c8f716709acdf8de0deddcd6ab zero
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2239
   8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2240
  +97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2241
  +97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2242
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2243
  Displaying [PATCH 7 of 8] Added tag two, two.diff for changeset ff2c9fa2018b ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2244
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2245
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2246
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2247
  Subject: [PATCH 7 of 8] Added tag two, two.diff for changeset ff2c9fa2018b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2248
  X-Mercurial-Node: e317db6a6f288748d1f6cb064f3810fcba66b1b6
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2249
  Message-Id: <e317db6a6f288748d1f6.315532867@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2250
  In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2251
  References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2252
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2253
  Date: Tue, 01 Jan 1980 00:01:07 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2254
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2255
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2256
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2257
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2258
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2259
  # Date 0 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2260
  # Node ID e317db6a6f288748d1f6cb064f3810fcba66b1b6
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2261
  # Parent  eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2262
  Added tag two, two.diff for changeset ff2c9fa2018b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2263
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2264
  diff -r eae5fcf795ee -r e317db6a6f28 .hgtags
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2265
  --- a/.hgtags	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2266
  +++ b/.hgtags	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2267
  @@ -2,3 +2,5 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2268
   8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2269
   97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2270
   97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2271
  +ff2c9fa2018b15fa74b33363bda9527323e2a99f two
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2272
  +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2273
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2274
  Displaying [PATCH 8 of 8] d ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2275
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2276
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2277
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2278
  Subject: [PATCH 8 of 8] d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2279
  X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2280
  Message-Id: <2f9fa9b998c5fe3ac2bd.315532868@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2281
  In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2282
  References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2283
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2284
  Date: Tue, 01 Jan 1980 00:01:08 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2285
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2286
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2287
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2288
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2289
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2290
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2291
  # Branch test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2292
  # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2293
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2294
  d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2295
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2296
  diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2297
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2298
  +++ b/d	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2299
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2300
  +d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2301
  
9947
4600e6222efb patchbomb: fix parsing of multiple addresses, allow multiple addrs in --to/cc/bcc
Marti Raudsepp <marti@juffo.org>
parents: 9913
diff changeset
  2302
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2303
dest#branch URIs:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2304
  $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2305
  comparing with ../t
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2306
  searching for changes
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
  2307
  From [test]: test
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2308
  This patch series consists of 1 patches.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2309
  
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
  2310
  Cc: 
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2311
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2312
  Displaying [PATCH] test ...
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2313
  Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2314
  MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2315
  Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2316
  Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2317
  X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
  2318
  Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
  2319
  User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2320
  Date: Tue, 01 Jan 1980 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2321
  From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2322
  To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2323
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2324
  # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2325
  # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2326
  # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2327
  # Branch test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2328
  # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2329
  # Parent  97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2330
  d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2331
  
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2332
  diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2333
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2334
  +++ b/d	Thu Jan 01 00:00:04 1970 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2335
  @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2336
  +d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
  2337