##// END OF EJS Templates
templatekw: keep status tuple in cache dict and rename cache key accordingly...
Yuya Nishihara -
r39634:42209f55 default
parent child Browse files
Show More
@@ -294,9 +294,9 b' def showextras(context, mapping):'
294 def _getfilestatus(context, mapping):
294 def _getfilestatus(context, mapping):
295 ctx = context.resource(mapping, 'ctx')
295 ctx = context.resource(mapping, 'ctx')
296 revcache = context.resource(mapping, 'revcache')
296 revcache = context.resource(mapping, 'revcache')
297 if 'files' not in revcache:
297 if 'filestatus' not in revcache:
298 revcache['files'] = ctx.p1().status(ctx)[:3]
298 revcache['filestatus'] = ctx.p1().status(ctx)
299 return revcache['files']
299 return revcache['filestatus']
300
300
301 def _showfilesbystat(context, mapping, name, index):
301 def _showfilesbystat(context, mapping, name, index):
302 stat = _getfilestatus(context, mapping)
302 stat = _getfilestatus(context, mapping)
General Comments 0
You need to be logged in to leave comments. Login now