mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
19 lines
245 B
Plaintext
19 lines
245 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
"$TESTDIR/hghave" inotify || exit 80
|
||
|
|
||
|
hg init
|
||
|
echo "[extensions]" > .hg/hgrc
|
||
|
echo "inotify=" >> .hg/hgrc
|
||
|
hg inserve -d --pid-file .hg/inotify.pid
|
||
|
|
||
|
echo a > a
|
||
|
hg ci -Aqm0
|
||
|
hg co -q null
|
||
|
hg co -q
|
||
|
hg st
|
||
|
cat a
|
||
|
|
||
|
kill `cat .hg/inotify.pid`
|
||
|
|