##// END OF EJS Templates
py3: use "%d" to convert integers to bytes...
Pulkit Goyal -
r36203:acc8e6e5 default
parent child Browse files
Show More
@@ -541,7 +541,7 class rebaseruntime(object):
541 541 'to commit\n') % (rev, ctx))
542 542 self.skipped.add(rev)
543 543 self.state[rev] = p1
544 ui.debug('next revision set to %s\n' % p1)
544 ui.debug('next revision set to %d\n' % p1)
545 545 else:
546 546 ui.status(_('already rebased %s as %s\n') %
547 547 (desc, repo[self.state[rev]]))
@@ -271,7 +271,7 class shelvedstate(object):
271 271 "activebook": activebook or cls._noactivebook
272 272 }
273 273 scmutil.simplekeyvaluefile(repo.vfs, cls._filename)\
274 .write(info, firstline=str(cls._version))
274 .write(info, firstline=("%d" % cls._version))
275 275
276 276 @classmethod
277 277 def clear(cls, repo):
@@ -60,6 +60,7 class verifier(object):
60 60 def err(self, linkrev, msg, filename=None):
61 61 if linkrev is not None:
62 62 self.badrevs.add(linkrev)
63 linkrev = "%d" % linkrev
63 64 else:
64 65 linkrev = '?'
65 66 msg = "%s: %s" % (linkrev, msg)
General Comments 0
You need to be logged in to leave comments. Login now