Mercurial > hg
changeset 2026:24c604628867
more windows fixes.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 30 Mar 2006 18:35:52 -0800 |
parents | 581d9a8b5fb9 |
children | 94d3170399e1 |
files | mercurial/util.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Thu Mar 30 18:27:04 2006 -0800 +++ b/mercurial/util.py Thu Mar 30 18:35:52 2006 -0800 @@ -536,7 +536,7 @@ return pf try: # Mark Hammond's win32all package allows better functionality on Windows - import win32api, win32con, win32file, winerror, pywintypes + import win32api, win32con, win32file, pywintypes # create hard links using win32file module def os_link(src, dst): # NB will only succeed on NTFS @@ -558,6 +558,7 @@ '''return True if pid is still running or unable to determine, False otherwise''' try: + import win32process, winerror handle = win32api.OpenProcess( win32con.PROCESS_QUERY_INFORMATION, False, pid) if handle: