##// END OF EJS Templates
patch: isolate patchfile filesystem calls into methods...
patch: isolate patchfile filesystem calls into methods This is a first step toward an svn-like patch driver and makes patchfile monkeypatching much easier. The latter is currently required to support in-memory patching until the code is refactored.

File last commit:

r7351:5ab0abf2 default
r7392:564326a6 default
Show More
test-inotify
30 lines | 414 B | text/plain | TextLexer
#!/bin/sh
"$TESTDIR/hghave" inotify || exit 80
hg init
touch a b c d e
mkdir dir
mkdir dir/bar
touch dir/x dir/y dir/bar/foo
hg ci -Am m
echo "[extensions]" >> $HGRCPATH
echo "inotify=" >> $HGRCPATH
echo % inserve
hg inserve -d --pid-file=hg.pid
cat hg.pid >> "$DAEMON_PIDS"
# let the daemon finish its stuff
sleep 1
# issue907
hg status
echo % clean
hg status -c
echo % all
hg status -A
kill `cat hg.pid`