changeset 4998 | 81f8ff2a9bf2 |
parent 4921 | 8a53b39cd402 |
child 5583 | 1b5b81d9039b |
child 5611 | 60bd4e707a7d |
--- a/mercurial/util_win32.py Mon Jul 23 20:44:08 2007 -0500 +++ 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