##// END OF EJS Templates
branchmap: stringify int in a portable way...
Augie Fackler -
r31348:fc06c526 default
parent child Browse files
Show More
@@ -233,7 +233,7 b' class branchcache(dict):'
233 def write(self, repo):
233 def write(self, repo):
234 try:
234 try:
235 f = repo.vfs(_filename(repo), "w", atomictemp=True)
235 f = repo.vfs(_filename(repo), "w", atomictemp=True)
236 cachekey = [hex(self.tipnode), str(self.tiprev)]
236 cachekey = [hex(self.tipnode), '%d' % self.tiprev]
237 if self.filteredhash is not None:
237 if self.filteredhash is not None:
238 cachekey.append(hex(self.filteredhash))
238 cachekey.append(hex(self.filteredhash))
239 f.write(" ".join(cachekey) + '\n')
239 f.write(" ".join(cachekey) + '\n')
General Comments 0
You need to be logged in to leave comments. Login now