branch | stable |
changeset 17391 | fc24c10424d2 |
parent 17308 | 2e0805f59736 |
child 17424 | e7cfe3587ea4 |
child 17461 | bacde764fba0 |
--- a/mercurial/cmdutil.py Thu Aug 23 18:19:19 2012 -0500 +++ b/mercurial/cmdutil.py Sat Aug 04 07:14:40 2012 +0200 @@ -515,7 +515,7 @@ sys.stdout.flush() sys.stderr.flush() - nullfd = os.open(util.nulldev, os.O_RDWR) + nullfd = os.open(os.devnull, os.O_RDWR) logfilefd = nullfd if logfile: logfilefd = os.open(logfile, os.O_RDWR | os.O_CREAT | os.O_APPEND)