[PATCH 2 of 2] Add test for the new hg bisect --log option

Bernhard Leiner mailinglists.bleiner at gmail.com
Tue Nov 11 16:19:29 CST 2008


# HG changeset patch
# User Bernhard Leiner <bleiner at gmail.com>
# Date 1226441183 -3600
# Node ID 05402d05b4022308af056194e5efe6c02476a3ca
# Parent  d872a5a414854dc611ef794dd89b0514c6c92301
Add test for the new hg bisect --log option

diff --git a/tests/test-bisect b/tests/test-bisect
--- a/tests/test-bisect
+++ b/tests/test-bisect
@@ -72,3 +72,10 @@
 echo % test no action
 hg bisect -r
 hg bisect || echo failure
+
+echo % test log
+hg bisect -r
+hg bisect -b tip
+hg bisect -g null
+hg bisect -s
+hg bisect -l
diff --git a/tests/test-bisect.out b/tests/test-bisect.out
--- a/tests/test-bisect.out
+++ b/tests/test-bisect.out
@@ -286,3 +286,11 @@
 % test no action
 abort: cannot bisect (no known good revisions)
 failure
+% test log
+Testing changeset 15:e7fa0811edb0 (32 changesets remaining, ~5 tests)
+1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+Testing changeset 14:ce8f0998e922 (32 changesets remaining, ~5 tests)
+1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+skip e7fa0811edb063f6319531f0d0a865882138e180
+bad 58c80a7c8a4025a94cedaf7b4a4e3124e8909a96
+good 0000000000000000000000000000000000000000


More information about the Mercurial-devel mailing list