diff --git a/mercurial/win32.py b/mercurial/win32.py index 91f1fe78454c9e8c661eba652e974d48f86f2ad3_bWVyY3VyaWFsL3dpbjMyLnB5..79a12651d46b50719a21fc12a40e70dc9bd0d2ea_bWVyY3VyaWFsL3dpbjMyLnB5 100644 --- a/mercurial/win32.py +++ b/mercurial/win32.py @@ -270,8 +270,9 @@ with win32file.FILE_SHARE_DELETE. this flag does not exist on windows < nt, so do not use this class there.''' - # tried to use win32file._open_osfhandle to pass fd to os.fdopen, - # but does not work at all. wrap win32 file api instead. + # ideally, we could use win32file._open_osfhandle and avoid this + # class entirely, but we would need the win32 _fdopen function, + # which is not exported by the win32file module. def __init__(self, name, mode='rb'): self.closed = False