##// END OF EJS Templates
hgweb: fix merge breakage
Matt Mackall -
r6437:10152603 default
parent child Browse files
Show More
@@ -438,7 +438,7 b' def filediff(web, req, tmpl):'
438 date=fctx.date(),
438 date=fctx.date(),
439 desc=fctx.description(),
439 desc=fctx.description(),
440 author=fctx.user(),
440 author=fctx.user(),
441 rename=self.renamelink(fctx),
441 rename=webutil.renamelink(fctx),
442 branch=webutil.nodebranchnodefault(fctx),
442 branch=webutil.nodebranchnodefault(fctx),
443 parent=webutil.siblings(parents),
443 parent=webutil.siblings(parents),
444 child=webutil.siblings(fctx.children()),
444 child=webutil.siblings(fctx.children()),
@@ -71,7 +71,7 b' def siblings(siblings=[], hiderev=None, '
71 yield d
71 yield d
72
72
73 def renamelink(fctx):
73 def renamelink(fctx):
74 r = fctx.renamed(node)
74 r = fctx.renamed()
75 if r:
75 if r:
76 return [dict(file=r[0], node=hex(r[1]))]
76 return [dict(file=r[0], node=hex(r[1]))]
77 return []
77 return []
General Comments 0
You need to be logged in to leave comments. Login now