##// END OF EJS Templates
setup.py: skip inotify if there's no inotify_add_watch...
setup.py: skip inotify if there's no inotify_add_watch Debian Etch doesn't include a sys/inotify.h header, which makes it impossible to compile _inotify.c, making hg uninstallable. The cc.has_function() method is implemented by trying to compile a simple C program. Since there's no redirection involved all error messages are sent to the terminal. This is not particularly pretty but at least it allows the installation to complete.

File last commit:

r6000:8e7d6498 default
r6245:0d0939b2 default
Show More
test-serve.out
12 lines | 318 B | text/plain | TextLexer
% Without -v
access log created - .hg/hgrc respected
% With -v
listening at http://localhost/
% With --prefix foo
listening at http://localhost/foo/
% With --prefix /foo
listening at http://localhost/foo/
% With --prefix foo/
listening at http://localhost/foo/
% With --prefix /foo/
listening at http://localhost/foo/