Show More
@@ -1,18 +1,14 b'' | |||||
1 | #!/bin/sh |
|
|||
2 |
|
1 | |||
3 | "$TESTDIR/hghave" inotify || exit 80 |
|
2 | $ "$TESTDIR/hghave" inotify || exit 80 | |
4 |
|
3 | $ hg init | ||
5 | hg init |
|
4 | $ echo "[extensions]" > .hg/hgrc | |
6 |
echo " |
|
5 | $ echo "inotify=" >> .hg/hgrc | |
7 | echo "inotify=" >> .hg/hgrc |
|
6 | $ hg inserve -d --pid-file .hg/inotify.pid | |
8 | hg inserve -d --pid-file .hg/inotify.pid |
|
7 | $ echo a > a | |
9 |
|
8 | $ hg ci -Aqm0 | ||
10 | echo a > a |
|
9 | $ hg co -q null | |
11 |
|
|
10 | $ hg co -q | |
12 | hg co -q null |
|
11 | $ hg st | |
13 | hg co -q |
|
12 | $ cat a | |
14 | hg st |
|
13 | a | |
15 | cat a |
|
14 | $ kill `cat .hg/inotify.pid` | |
16 |
|
||||
17 | kill `cat .hg/inotify.pid` |
|
|||
18 |
|
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now