Submitter | Augie Fackler |
---|---|
Date | March 19, 2017, 6:11 a.m. |
Message ID | <e9574463681c17cc07e3.1489903897@imladris.local> |
Download | mbox | patch |
Permalink | /patch/19444/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -1177,7 +1177,7 @@ def checkwinfilename(path): for n in path.replace('\\', '/').split('/'): if not n: continue - for c in n: + for c in pycompat.bytestr(n): if c in _winreservedchars: return _("filename contains '%s', which is reserved " "on Windows") % c