Comments
Patch
@@ -101,11 +101,17 @@
yield templ(endname, **args)
def getfiles(repo, ctx, revcache):
if 'files' not in revcache:
revcache['files'] = repo.status(ctx.p1().node(), ctx.node())[:3]
- return revcache['files']
+
+ f = revcache['files']
+ m = [labelify(x, 'status.modified') for x in f[0]]
+ a = [labelify(x, 'status.added') for x in f[1]]
+ r = [labelify(x, 'status.removed') for x in f[2]]
+ return [m, a, r]
+
def getlatesttags(repo, ctx, cache):
'''return date, distance and name for the latest tag of rev'''
if 'latesttags' not in cache: