Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/util_win32.py @ 2645:e6a41cbaa260
fix windows username problem.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Mon, 24 Jul 2006 09:11:26 -0700 |
parents | b77a2ef61b81 |
children | 8b55c0ba8048 |
comparison
equal
deleted
inserted
replaced
2640:02b6fa7bbfbf | 2645:e6a41cbaa260 |
---|---|
295 win32file.SetFilePointer(self.handle, int(pos), | 295 win32file.SetFilePointer(self.handle, int(pos), |
296 win32file.FILE_BEGIN) | 296 win32file.FILE_BEGIN) |
297 win32file.SetEndOfFile(self.handle) | 297 win32file.SetEndOfFile(self.handle) |
298 except pywintypes.error, err: | 298 except pywintypes.error, err: |
299 raise WinIOError(err) | 299 raise WinIOError(err) |
300 | |
301 getuser_fallback = win32api.GetUserName |