Mercurial > hg
comparison mercurial/repair.py @ 12065:a8b1cb0b0ddb
color: handle more Windows console errors
If your application is being built as a non-console application,
stdout is not a valid handle and raises an exception:
pywintypes.error: (6, 'DuplicateHandle', 'The handle is invalid.')
Alternatively, non-console applications launched outside of a
console will return None from GetStdHandle instead of raising an
exception.
author | Steve Borho <steve@borho.org> |
---|---|
date | Fri, 27 Aug 2010 22:24:47 -0500 |
parents | 798ef5b19cb1 |
children | ee01d9d84115 |
comparison
equal
deleted
inserted
replaced
12064:6449be7b8a3b | 12065:a8b1cb0b0ddb |
---|