##// END OF EJS Templates
Make contrib/buildrpm work on Fedora 9....
Make contrib/buildrpm work on Fedora 9. mercurial.spec had bitrotted. These changes makes it possible to build an rpm that is usable. Only minimal changes has been made, and there is plenty of room for improvement.

File last commit:

r6997:9c4e488f default
r7277:3e000e2b default
Show More
test-inotify-issue1208
24 lines | 427 B | text/plain | TextLexer
/ tests / test-inotify-issue1208
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 #!/bin/sh
"$TESTDIR/hghave" inotify || exit 80
echo "[extensions]" >> $HGRCPATH
echo "inotify=" >> $HGRCPATH
p="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
hg init $p
cd $p
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997 echo % fail
ln -sf doesnotexist .hg/inotify.sock
hg st
hg inserve
rm .hg/inotify.sock
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 echo % inserve
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997 hg inserve -d --pid-file=hg.pid
cat hg.pid >> "$DAEMON_PIDS"
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 echo % status
hg status
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997
kill `cat hg.pid`