--- a/mercurial/commands.py Thu Jul 06 10:09:24 2006 -0700
+++ b/mercurial/commands.py Thu Jul 06 11:45:34 2006 -0700
@@ -2649,7 +2649,7 @@
if opts['pid_file']:
fp = open(opts['pid_file'], 'w')
- fp.write(str(os.getpid()))
+ fp.write(str(os.getpid()) + '\n')
fp.close()
if opts['daemon_pipefds']: