diff 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
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Mon Nov 30 19:52:03 2009 +0100
+++ b/mercurial/cmdutil.py	Tue Nov 17 18:50:39 2009 +0900
@@ -588,7 +588,7 @@
         initfn()
 
     if opts['pid_file']:
-        fp = open(opts['pid_file'], 'w')
+        fp = open(opts['pid_file'], 'a')
         fp.write(str(os.getpid()) + '\n')
         fp.close()