Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.py @ 9958:777c1df76ef4
run-tests: add --inotify option to test runner
Activate inotify extension when running tests.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Tue, 17 Nov 2009 18:50:39 +0900 |
parents | a92539567ef3 |
children | a68fb6f4ae4b |
comparison
equal
deleted
inserted
replaced
9957:ad44e1f8b3f3 | 9958:777c1df76ef4 |
---|---|
586 | 586 |
587 if initfn: | 587 if initfn: |
588 initfn() | 588 initfn() |
589 | 589 |
590 if opts['pid_file']: | 590 if opts['pid_file']: |
591 fp = open(opts['pid_file'], 'w') | 591 fp = open(opts['pid_file'], 'a') |
592 fp.write(str(os.getpid()) + '\n') | 592 fp.write(str(os.getpid()) + '\n') |
593 fp.close() | 593 fp.close() |
594 | 594 |
595 if opts['daemon_pipefds']: | 595 if opts['daemon_pipefds']: |
596 rfd, wfd = [int(x) for x in opts['daemon_pipefds'].split(',')] | 596 rfd, wfd = [int(x) for x in opts['daemon_pipefds'].split(',')] |