[PATCH 19 of 21] patchbomb: lowercase output
Martin Geisler
mg at daimi.au.dk
Sat Jan 3 10:40:17 CST 2009
# HG changeset patch
# User Martin Geisler <mg at daimi.au.dk>
# Date 1230999321 -3600
# Node ID 0f6d037905c28c39d523a4eea40dbd696a8ff921
# Parent 77ad9a533475ed5655449af94bd958d61dce0325
patchbomb: lowercase output
This is an interactive extension and the strings changed are not meant
for scripts to parse.
diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -290,7 +290,7 @@
if opts.get('desc'):
body = open(opts.get('desc')).read()
else:
- ui.write(_('\nWrite the introductory message for the '
+ ui.write(_('\nwrite the introductory message for the '
'patch series.\n\n'))
body = ui.edit(body, sender)
return body
@@ -299,7 +299,7 @@
jumbo = []
msgs = []
- ui.write(_('This patch series consists of %d patches.\n\n')
+ ui.write(_('this patch series consists of %d patches.\n\n')
% len(patches))
name = None
diff --git a/tests/test-patchbomb.out b/tests/test-patchbomb.out
--- a/tests/test-patchbomb.out
+++ b/tests/test-patchbomb.out
@@ -1,5 +1,5 @@
adding a
-This patch series consists of 1 patches.
+this patch series consists of 1 patches.
displaying [PATCH] a ...
@@ -28,10 +28,10 @@
+a
adding b
-This patch series consists of 2 patches.
+this patch series consists of 2 patches.
-Write the introductory message for the patch series.
+write the introductory message for the patch series.
displaying [PATCH 0 of 2] test ...
@@ -100,10 +100,10 @@
@@ -0,0 +1,1 @@
+b
-This patch series consists of 2 patches.
+this patch series consists of 2 patches.
-Write the introductory message for the patch series.
+write the introductory message for the patch series.
writing [PATCH 0 of 2] test ...
@@ -152,9 +152,9 @@
adding utf
% no mime encoding for email --test
% md5sum of 8-bit output
-e5cc54e82d985a2e1fbae7cd2b822480 mailtest
+b71b22ecf3b65b8688755adf78b554ce mailtest
% mime encoded mbox
-This patch series consists of 1 patches.
+this patch series consists of 1 patches.
writing [PATCH] charset=utf-8; content-transfer-encoding: base64 ...
@@ -185,14 +185,14 @@
% iso-8859-1 patch
adding isolatin
% fake ascii mbox
-This patch series consists of 1 patches.
+this patch series consists of 1 patches.
writing [PATCH] charset=us-ascii; content-transfer-encoding: 8bit ...
% md5sum of 8-bit output
90fae277a4a85255e8262174fcefb59f mboxfix
% test diffstat for single patch
-This patch series consists of 1 patches.
+this patch series consists of 1 patches.
c
@@ -230,7 +230,7 @@
+c
% test diffstat for multiple patches
-This patch series consists of 2 patches.
+this patch series consists of 2 patches.
a
@@ -249,7 +249,7 @@
2 files changed, 2 insertions(+), 0 deletions(-)
-Write the introductory message for the patch series.
+write the introductory message for the patch series.
displaying [PATCH 0 of 2] test ...
@@ -331,7 +331,7 @@
+b
% test inline for single patch
-This patch series consists of 1 patches.
+this patch series consists of 1 patches.
displaying [PATCH] test ...
@@ -366,10 +366,10 @@
--===
% test inline for multiple patches
-This patch series consists of 2 patches.
+this patch series consists of 2 patches.
-Write the introductory message for the patch series.
+write the introductory message for the patch series.
displaying [PATCH 0 of 2] test ...
@@ -451,7 +451,7 @@
--===
% test attach for single patch
-This patch series consists of 1 patches.
+this patch series consists of 1 patches.
displaying [PATCH] test ...
@@ -495,10 +495,10 @@
--===
% test attach for multiple patches
-This patch series consists of 2 patches.
+this patch series consists of 2 patches.
-Write the introductory message for the patch series.
+write the introductory message for the patch series.
displaying [PATCH 0 of 2] test ...
@@ -598,10 +598,10 @@
--===
% test intro for single patch
-This patch series consists of 1 patches.
+this patch series consists of 1 patches.
-Write the introductory message for the patch series.
+write the introductory message for the patch series.
displaying [PATCH 0 of 1] test ...
@@ -644,10 +644,10 @@
+c
% test intro for multiple patches
-This patch series consists of 2 patches.
+this patch series consists of 2 patches.
-Write the introductory message for the patch series.
+write the introductory message for the patch series.
displaying [PATCH 0 of 2] test ...
@@ -718,7 +718,7 @@
% tagging csets
% test inline for single named patch
-This patch series consists of 1 patches.
+this patch series consists of 1 patches.
displaying [PATCH] test ...
@@ -753,10 +753,10 @@
--===
% test inline for multiple named/unnamed patches
-This patch series consists of 2 patches.
+this patch series consists of 2 patches.
-Write the introductory message for the patch series.
+write the introductory message for the patch series.
displaying [PATCH 0 of 2] test ...
More information about the Mercurial-devel
mailing list