[PATCH stable] color: add a test with extension loaded and ui.formatted=False

Siddharth Agarwal sid0 at fb.com
Sat Apr 20 00:07:22 CDT 2013


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1366434239 25200
#      Fri Apr 19 22:03:59 2013 -0700
# Branch stable
# Node ID 6c8b006d3cc06b1304d2cc6e10ef86ec9d8d25e0
# Parent  1fa7526ac4e13a012ff51dd3fec79283bc2c8243
color: add a test with extension loaded and ui.formatted=False

diff -r 1fa7526ac4e1 -r 6c8b006d3cc0 tests/test-status-color.t
--- a/tests/test-status-color.t	Wed Apr 10 00:50:40 2013 -0700
+++ b/tests/test-status-color.t	Fri Apr 19 22:03:59 2013 -0700
@@ -119,6 +119,15 @@ Make sure --color=never works
   ? b/in_b
   ? in_root
 
+Make sure ui.formatted=False works
+  $ hg status --config ui.formatted=False
+  ? a/1/in_a_1
+  ? a/in_a
+  ? b/1/in_b_1
+  ? b/2/in_b_2
+  ? b/in_b
+  ? in_root
+
   $ cd ..
 
   $ hg init repo2


More information about the Mercurial-devel mailing list