##// 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:

r3736:ad3d5b43 default
r6245:0d0939b2 default
Show More
test-simple-update
24 lines | 245 B | text/plain | TextLexer
/ tests / test-simple-update
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add a simple testing framework...
r331
Thomas Arendsen Hein
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
r800 set -e
mpm@selenic.com
Add a simple testing framework...
r331
mkdir test
cd test
echo foo>foo
hg init
hg addremove
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "1"
mpm@selenic.com
Add a simple testing framework...
r331 hg verify
mpm@selenic.com
[PATCH] add clone command...
r485 hg clone . ../branch
cd ../branch
mpm@selenic.com
Add a simple testing framework...
r331 hg co
echo bar>>foo
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "2"
mpm@selenic.com
Add a simple testing framework...
r331
cd ../test
hg pull ../branch
hg verify
hg co
cat foo
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug