##// END OF EJS Templates
py3: use portable way to stringify cache key of repoview
Yuya Nishihara -
r31444:55390e97 default
parent child Browse files
Show More
@@ -104,7 +104,7 b' def cachehash(repo, hideable):'
104 """
104 """
105 h = hashlib.sha1()
105 h = hashlib.sha1()
106 h.update(''.join(repo.heads()))
106 h.update(''.join(repo.heads()))
107 h.update(str(hash(frozenset(hideable))))
107 h.update('%d' % hash(frozenset(hideable)))
108 return h.digest()
108 return h.digest()
109
109
110 def _writehiddencache(cachefile, cachehash, hidden):
110 def _writehiddencache(cachefile, cachehash, hidden):
General Comments 0
You need to be logged in to leave comments. Login now