author | Augie Fackler <augie@google.com> |
Sun, 19 Mar 2017 00:16:08 -0400 | |
changeset 31495 | d1937bdcee8c |
parent 31494 | faf75a701aca |
child 31496 | 670166e0fcaa |
mercurial/util.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/util.py Sun Mar 19 00:22:04 2017 -0400 +++ b/mercurial/util.py Sun Mar 19 00:16:08 2017 -0400 @@ -1177,7 +1177,7 @@ 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