diff mercurial/lock.py @ 37471:51d5e1ff0613

py3: use s.startswith() instead of s[n] while parsing patches I know 'bytes[n] in bytes' magically works, but I'm tired of finding which one breaks the tests.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 08 Apr 2018 15:39:08 +0900
parents a8a902d7176e
children 34758397ad1b
line wrap: on
line diff