Mercurial > hg
comparison tests/test-inotify @ 7145:6f4a253f2a64
inotify: fix status not showing "clean" files (issue907)
The inotify server uses 'c' for clean, not 'n'.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 18 Oct 2008 23:06:29 +0200 |
parents | |
children | c5dbe86b0fee |
comparison
equal
deleted
inserted
replaced
7144:9364c3304ca2 | 7145:6f4a253f2a64 |
---|---|
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` |