Show More
@@ -0,0 +1,30 b'' | |||||
|
1 | #!/bin/sh | |||
|
2 | ||||
|
3 | "$TESTDIR/hghave" inotify || exit 80 | |||
|
4 | ||||
|
5 | hg init | |||
|
6 | ||||
|
7 | touch a b c d e | |||
|
8 | mkdir dir | |||
|
9 | mkdir dir/bar | |||
|
10 | touch dir/x dir/y dir/bar/foo | |||
|
11 | ||||
|
12 | hg ci -Am m | |||
|
13 | ||||
|
14 | echo "[extensions]" >> $HGRCPATH | |||
|
15 | echo "inotify=" >> $HGRCPATH | |||
|
16 | ||||
|
17 | echo % inserve | |||
|
18 | hg inserve -d --pid-file=hg.pid | |||
|
19 | cat hg.pid >> "$DAEMON_PIDS" | |||
|
20 | ||||
|
21 | # let the daemon finish its stuff | |||
|
22 | sleep 1 | |||
|
23 | # issue907 | |||
|
24 | hg status | |||
|
25 | echo % clean | |||
|
26 | hg status -c | |||
|
27 | echo % all | |||
|
28 | hg status -A | |||
|
29 | ||||
|
30 | kill `cat hg.pid` |
@@ -0,0 +1,29 b'' | |||||
|
1 | adding a | |||
|
2 | adding b | |||
|
3 | adding c | |||
|
4 | adding d | |||
|
5 | adding dir/bar/foo | |||
|
6 | adding dir/x | |||
|
7 | adding dir/y | |||
|
8 | adding e | |||
|
9 | % inserve | |||
|
10 | ? hg.pid | |||
|
11 | % clean | |||
|
12 | C a | |||
|
13 | C b | |||
|
14 | C c | |||
|
15 | C d | |||
|
16 | C dir/bar/foo | |||
|
17 | C dir/x | |||
|
18 | C dir/y | |||
|
19 | C e | |||
|
20 | % all | |||
|
21 | ? hg.pid | |||
|
22 | C a | |||
|
23 | C b | |||
|
24 | C c | |||
|
25 | C d | |||
|
26 | C dir/bar/foo | |||
|
27 | C dir/x | |||
|
28 | C dir/y | |||
|
29 | C e |
@@ -29,7 +29,7 b' def query(ui, repo, names, match, ignore' | |||||
29 | states = 'almrx!' |
|
29 | states = 'almrx!' | |
30 | if ignored: |
|
30 | if ignored: | |
31 | raise ValueError('this is insanity') |
|
31 | raise ValueError('this is insanity') | |
32 |
if clean: states += ' |
|
32 | if clean: states += 'c' | |
33 | if unknown: states += '?' |
|
33 | if unknown: states += '?' | |
34 | yield states |
|
34 | yield states | |
35 |
|
35 |
General Comments 0
You need to be logged in to leave comments.
Login now