comparison tests/test-blackbox.t @ 28246:b862e793ec10

blackbox: log dirty state If blackbox.dirty = True, use `+` to indicate dirty repositories.
author timeless <timeless@mozdev.org>
date Tue, 09 Feb 2016 15:44:13 +0000
parents caa2a0c6fbb7
children d2c0527af364
comparison
equal deleted inserted replaced
28245:caa2a0c6fbb7 28246:b862e793ec10
10 10
11 command, exit codes, and duration 11 command, exit codes, and duration
12 12
13 $ echo a > a 13 $ echo a > a
14 $ hg add a 14 $ hg add a
15 $ hg id > /dev/null 15 $ hg id --config blackbox.dirty=True > /dev/null
16 $ hg blackbox 16 $ hg blackbox --config blackbox.dirty=True
17 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> add a 17 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> add a
18 1970/01/01 00:00:00 bob @(unknown) (5000)> add a exited 0 after * seconds (glob) 18 1970/01/01 00:00:00 bob @(unknown) (5000)> add a exited 0 after * seconds (glob)
19 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> id 19 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000+ (5000)> id
20 1970/01/01 00:00:00 bob @(unknown) (5000)> id exited 0 after * seconds (glob) 20 1970/01/01 00:00:00 bob @(unknown) (5000)> id --config blackbox.dirty=True exited 0 after * seconds (glob)
21 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox 21 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000+ (5000)> blackbox
22 22
23 incoming change tracking 23 incoming change tracking
24 24
25 create two heads to verify that we only see one change in the log later 25 create two heads to verify that we only see one change in the log later
26 $ hg commit -ma 26 $ hg commit -ma