[PATCH 2 of 3 STABLE] win32: add missing definition of _ERROR_NO_MORE_FILES caught by pyflakes

Yuya Nishihara yuya at tcha.org
Mon Apr 28 23:56:40 CDT 2014


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1398742550 -32400
#      Tue Apr 29 12:35:50 2014 +0900
# Branch stable
# Node ID 1e4817bac55db80b468a2a6651df84dec6b574e9
# Parent  0b3e8b75ec319048a8ae6ade1340124598cd573d
win32: add missing definition of _ERROR_NO_MORE_FILES caught by pyflakes

diff --git a/mercurial/win32.py b/mercurial/win32.py
--- a/mercurial/win32.py
+++ b/mercurial/win32.py
@@ -24,6 +24,7 @@ import ctypes, errno, os, subprocess, ra
 
 # GetLastError
 _ERROR_SUCCESS = 0
+_ERROR_NO_MORE_FILES = 18
 _ERROR_SHARING_VIOLATION = 32
 _ERROR_INVALID_PARAMETER = 87
 _ERROR_INSUFFICIENT_BUFFER = 122


More information about the Mercurial-devel mailing list