Mercurial > hg
comparison mercurial/cmdutil.py @ 9975:2e67734e1453
backout experimental change from 777c1df76ef4
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 01 Dec 2009 01:43:46 +0100 |
parents | a68fb6f4ae4b |
children | 2bfe1a23dafa |
comparison
equal
deleted
inserted
replaced
9974:da5209afe1bc | 9975:2e67734e1453 |
---|---|
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'], 'a') | 591 fp = open(opts['pid_file'], 'w') |
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(',')] |