author | Shun-ichi GOTO <shunichi.goto@gmail.com> |
Wed, 25 Jul 2007 15:58:10 +0900 | |
changeset 5068 | edfe69548e2a |
parent 5067 | 73169e5d2732 |
child 5069 | 92d7ce0da063 |
--- a/mercurial/util_win32.py Tue Jul 17 23:33:42 2007 +0200 +++ b/mercurial/util_win32.py Wed Jul 25 15:58:10 2007 +0900 @@ -209,7 +209,7 @@ def __init__(self, name, mode='rb'): access = 0 - if 'r' in mode: + if 'r' in mode or '+' in mode: access |= win32file.GENERIC_READ if 'w' in mode or 'a' in mode or '+' in mode: access |= win32file.GENERIC_WRITE