--- a/mercurial/win32.py Tue Apr 29 12:35:02 2014 +0900
+++ b/mercurial/win32.py Tue Apr 29 12:35:50 2014 +0900
@@ -24,6 +24,7 @@
# GetLastError
_ERROR_SUCCESS = 0
+_ERROR_NO_MORE_FILES = 18
_ERROR_SHARING_VIOLATION = 32
_ERROR_INVALID_PARAMETER = 87
_ERROR_INSUFFICIENT_BUFFER = 122