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