[PATCH 13 of 21] bisect: lowercase output

Martin Geisler mg at daimi.au.dk
Sat Jan 3 10:40:11 CST 2009


# HG changeset patch
# User Martin Geisler <mg at daimi.au.dk>
# Date 1230999321 -3600
# Node ID aeab7099a6c96538db3e5a67d4aec3bec8dae60a
# Parent  d9bda830172c0ea740cb49a552ed196b2541e44d
bisect: lowercase output

This extension is not very scriptable, so it should be okay to change
these strings.

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -287,11 +287,11 @@
         transition = (good and "good" or "bad")
         if len(nodes) == 1:
             # narrowed it down to a single revision
-            ui.write(_("The first %s revision is:\n") % transition)
+            ui.write(_("the first %s revision is:\n") % transition)
             displayer.show(repo[nodes[0]])
         else:
             # multiple possible revisions
-            ui.write(_("Due to skipped revisions, the first "
+            ui.write(_("due to skipped revisions, the first "
                        "%s revision could be any of:\n") % transition)
             for n in nodes:
                 displayer.show(repo[n])
@@ -379,7 +379,7 @@
         while size <= changesets:
             tests, size = tests + 1, size * 2
         rev = repo.changelog.rev(node)
-        ui.write(_("Testing changeset %s:%s "
+        ui.write(_("testing changeset %s:%s "
                    "(%s changesets remaining, ~%s tests)\n")
                  % (rev, short(node), changesets, tests))
         if not noupdate:
diff --git a/tests/test-bisect.out b/tests/test-bisect.out
--- a/tests/test-bisect.out
+++ b/tests/test-bisect.out
@@ -198,40 +198,40 @@
 % hg up -C
 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
 % bisect test
-Testing changeset 16:a2e6ea4973e9 (30 changesets remaining, ~4 tests)
+testing changeset 16:a2e6ea4973e9 (30 changesets remaining, ~4 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 23:5ec79163bff4 (15 changesets remaining, ~3 tests)
+testing changeset 23:5ec79163bff4 (15 changesets remaining, ~3 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 skip
-Testing changeset 24:10e0acd3809e (15 changesets remaining, ~3 tests)
+testing changeset 24:10e0acd3809e (15 changesets remaining, ~3 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 27:288867a866e9 (7 changesets remaining, ~2 tests)
+testing changeset 27:288867a866e9 (7 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 29:b5bd63375ab9 (4 changesets remaining, ~2 tests)
+testing changeset 29:b5bd63375ab9 (4 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 28:8e0c2264c8af (2 changesets remaining, ~1 tests)
+testing changeset 28:8e0c2264c8af (2 changesets remaining, ~1 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-The first bad revision is:
+the first bad revision is:
 changeset:   29:b5bd63375ab9
 user:        test
 date:        Thu Jan 01 00:00:29 1970 +0000
 summary:     msg 29
 
 % bisect reverse test
-Testing changeset 15:e7fa0811edb0 (32 changesets remaining, ~5 tests)
+testing changeset 15:e7fa0811edb0 (32 changesets remaining, ~5 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 7:03750880c6b5 (16 changesets remaining, ~4 tests)
+testing changeset 7:03750880c6b5 (16 changesets remaining, ~4 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 skip
-Testing changeset 6:a3d5c6fdf0d3 (16 changesets remaining, ~4 tests)
+testing changeset 6:a3d5c6fdf0d3 (16 changesets remaining, ~4 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 2:db07c04beaca (7 changesets remaining, ~2 tests)
+testing changeset 2:db07c04beaca (7 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 0:b99c7b9c8e11 (3 changesets remaining, ~1 tests)
+testing changeset 0:b99c7b9c8e11 (3 changesets remaining, ~1 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 1:5cd978ea5149 (2 changesets remaining, ~1 tests)
+testing changeset 1:5cd978ea5149 (2 changesets remaining, ~1 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-The first good revision is:
+the first good revision is:
 changeset:   1:5cd978ea5149
 user:        test
 date:        Thu Jan 01 00:00:01 1970 +0000
@@ -239,16 +239,16 @@
 
 abort: inconsistent state, 31:58c80a7c8a40 is good and bad
 error
-Testing changeset 15:e7fa0811edb0 (32 changesets remaining, ~5 tests)
+testing changeset 15:e7fa0811edb0 (32 changesets remaining, ~5 tests)
 5cd978ea5149
 % reproduce AssertionError, issue1228 and issue1182
-Testing changeset 2:db07c04beaca (4 changesets remaining, ~2 tests)
+testing changeset 2:db07c04beaca (4 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 1:5cd978ea5149 (4 changesets remaining, ~2 tests)
+testing changeset 1:5cd978ea5149 (4 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 3:b53bea5e2fcb (4 changesets remaining, ~2 tests)
+testing changeset 3:b53bea5e2fcb (4 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Due to skipped revisions, the first bad revision could be any of:
+due to skipped revisions, the first bad revision could be any of:
 changeset:   1:5cd978ea5149
 user:        test
 date:        Thu Jan 01 00:00:01 1970 +0000
@@ -270,9 +270,9 @@
 summary:     msg 4
 
 % reproduce non converging bisect, issue1182
-Testing changeset 1:5cd978ea5149 (2 changesets remaining, ~1 tests)
+testing changeset 1:5cd978ea5149 (2 changesets remaining, ~1 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Due to skipped revisions, the first bad revision could be any of:
+due to skipped revisions, the first bad revision could be any of:
 changeset:   1:5cd978ea5149
 user:        test
 date:        Thu Jan 01 00:00:01 1970 +0000
@@ -287,17 +287,17 @@
 abort: cannot bisect (no known good revisions)
 failure
 % reproduce AssertionError, issue1445
-Testing changeset 3:b53bea5e2fcb (6 changesets remaining, ~2 tests)
+testing changeset 3:b53bea5e2fcb (6 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 2:db07c04beaca (6 changesets remaining, ~2 tests)
+testing changeset 2:db07c04beaca (6 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 4:9b2ba8336a65 (6 changesets remaining, ~2 tests)
+testing changeset 4:9b2ba8336a65 (6 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 1:5cd978ea5149 (6 changesets remaining, ~2 tests)
+testing changeset 1:5cd978ea5149 (6 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 5:7874a09ea728 (6 changesets remaining, ~2 tests)
+testing changeset 5:7874a09ea728 (6 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-The first bad revision is:
+the first bad revision is:
 changeset:   6:a3d5c6fdf0d3
 user:        test
 date:        Thu Jan 01 00:00:06 1970 +0000
diff --git a/tests/test-bisect2.out b/tests/test-bisect2.out
--- a/tests/test-bisect2.out
+++ b/tests/test-bisect2.out
@@ -131,51 +131,51 @@
 % hg up -C
 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
 % complex bisect test 1
-Testing changeset 6:a214d5d3811a (15 changesets remaining, ~3 tests)
+testing changeset 6:a214d5d3811a (15 changesets remaining, ~3 tests)
 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
-Testing changeset 13:b0a32c86eb31 (9 changesets remaining, ~3 tests)
+testing changeset 13:b0a32c86eb31 (9 changesets remaining, ~3 tests)
 3 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 10:429fcd26f52d (9 changesets remaining, ~3 tests)
+testing changeset 10:429fcd26f52d (9 changesets remaining, ~3 tests)
 3 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 8:dab8161ac8fc (3 changesets remaining, ~1 tests)
+testing changeset 8:dab8161ac8fc (3 changesets remaining, ~1 tests)
 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 9:3c77083deb4a (2 changesets remaining, ~1 tests)
+testing changeset 9:3c77083deb4a (2 changesets remaining, ~1 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-The first bad revision is:
+the first bad revision is:
 changeset:   9:3c77083deb4a
 user:        test
 date:        Thu Jan 01 00:00:09 1970 +0000
 summary:     9
 
 % complex bisect test 2
-Testing changeset 6:a214d5d3811a (13 changesets remaining, ~3 tests)
+testing changeset 6:a214d5d3811a (13 changesets remaining, ~3 tests)
 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 10:429fcd26f52d (13 changesets remaining, ~3 tests)
+testing changeset 10:429fcd26f52d (13 changesets remaining, ~3 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 12:9f259202bbe7 (5 changesets remaining, ~2 tests)
+testing changeset 12:9f259202bbe7 (5 changesets remaining, ~2 tests)
 3 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 13:b0a32c86eb31 (3 changesets remaining, ~1 tests)
+testing changeset 13:b0a32c86eb31 (3 changesets remaining, ~1 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-The first good revision is:
+the first good revision is:
 changeset:   13:b0a32c86eb31
 user:        test
 date:        Thu Jan 01 00:00:13 1970 +0000
 summary:     13
 
 % complex bisect test 3
-Testing changeset 6:a214d5d3811a (13 changesets remaining, ~3 tests)
+testing changeset 6:a214d5d3811a (13 changesets remaining, ~3 tests)
 2 files updated, 0 files merged, 2 files removed, 0 files unresolved
-Testing changeset 13:b0a32c86eb31 (8 changesets remaining, ~3 tests)
+testing changeset 13:b0a32c86eb31 (8 changesets remaining, ~3 tests)
 3 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 10:429fcd26f52d (8 changesets remaining, ~3 tests)
+testing changeset 10:429fcd26f52d (8 changesets remaining, ~3 tests)
 3 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 12:9f259202bbe7 (8 changesets remaining, ~3 tests)
+testing changeset 12:9f259202bbe7 (8 changesets remaining, ~3 tests)
 3 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 9:3c77083deb4a (5 changesets remaining, ~2 tests)
+testing changeset 9:3c77083deb4a (5 changesets remaining, ~2 tests)
 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 15:857b178a7cf3 (5 changesets remaining, ~2 tests)
+testing changeset 15:857b178a7cf3 (5 changesets remaining, ~2 tests)
 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Due to skipped revisions, the first bad revision could be any of:
+due to skipped revisions, the first bad revision could be any of:
 changeset:   9:3c77083deb4a
 user:        test
 date:        Thu Jan 01 00:00:09 1970 +0000
@@ -201,15 +201,15 @@
 summary:     merge 10,13
 
 % complex bisect test 4
-Testing changeset 10:429fcd26f52d (13 changesets remaining, ~3 tests)
+testing changeset 10:429fcd26f52d (13 changesets remaining, ~3 tests)
 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 13:b0a32c86eb31 (6 changesets remaining, ~2 tests)
+testing changeset 13:b0a32c86eb31 (6 changesets remaining, ~2 tests)
 3 files updated, 0 files merged, 1 files removed, 0 files unresolved
-Testing changeset 15:857b178a7cf3 (3 changesets remaining, ~1 tests)
+testing changeset 15:857b178a7cf3 (3 changesets remaining, ~1 tests)
 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Testing changeset 16:609d82a7ebae (3 changesets remaining, ~1 tests)
+testing changeset 16:609d82a7ebae (3 changesets remaining, ~1 tests)
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-Due to skipped revisions, the first good revision could be any of:
+due to skipped revisions, the first good revision could be any of:
 changeset:   15:857b178a7cf3
 parent:      13:b0a32c86eb31
 parent:      10:429fcd26f52d


More information about the Mercurial-devel mailing list