author | Augie Fackler <augie@google.com> |
Wed, 17 Jan 2018 20:41:51 -0500 | |
changeset 35832 | aad39713ef35 |
parent 35831 | a011e4140435 |
child 35833 | 87b085a4f9d1 |
--- a/mercurial/transaction.py Wed Jan 17 20:38:10 2018 -0500 +++ b/mercurial/transaction.py Wed Jan 17 20:41:51 2018 -0500 @@ -612,7 +612,7 @@ lines = fp.readlines() if lines: ver = lines[0][:-1] - if ver == str(version): + if ver == (b'%d' % version): for line in lines[1:]: if line: # Shave off the trailing newline