##// END OF EJS Templates
git: decode node IDs back into Python strings (issue6349)...
Hollis Blanchard -
r45472:fb2936c5 default
parent child Browse files
Show More
@@ -245,7 +245,10 b' def _index_repo(gitrepo, db, progress_fa'
245 245 # TODO: we should figure out how to incrementally index history
246 246 # (preferably by detecting rewinds!) so that we don't have to do a
247 247 # full changelog walk every time a new commit is created.
248 cache_heads = {x[0] for x in db.execute('SELECT node FROM possible_heads')}
248 cache_heads = {
249 pycompat.sysstr(x[0])
250 for x in db.execute('SELECT node FROM possible_heads')
251 }
249 252 walker = None
250 253 cur_cache_heads = {h.hex for h in possible_heads}
251 254 if cur_cache_heads == cache_heads:
General Comments 0
You need to be logged in to leave comments. Login now