##// END OF EJS Templates
transaction: fix hg version check when loading journal...
Augie Fackler -
r35850:aad39713 default
parent child Browse files
Show More
@@ -612,7 +612,7 def rollback(opener, vfsmap, file, repor
612 lines = fp.readlines()
612 lines = fp.readlines()
613 if lines:
613 if lines:
614 ver = lines[0][:-1]
614 ver = lines[0][:-1]
615 if ver == str(version):
615 if ver == (b'%d' % version):
616 for line in lines[1:]:
616 for line in lines[1:]:
617 if line:
617 if line:
618 # Shave off the trailing newline
618 # Shave off the trailing newline
General Comments 0
You need to be logged in to leave comments. Login now