hgweb: fix merge breakage

This commit is contained in:
Matt Mackall 2008-03-31 23:14:25 -05:00
parent bf098a66ae
commit cf71bb5f2b
2 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ def filediff(web, req, tmpl):
date=fctx.date(),
desc=fctx.description(),
author=fctx.user(),
rename=self.renamelink(fctx),
rename=webutil.renamelink(fctx),
branch=webutil.nodebranchnodefault(fctx),
parent=webutil.siblings(parents),
child=webutil.siblings(fctx.children()),

View File

@ -71,7 +71,7 @@ def siblings(siblings=[], hiderev=None, **args):
yield d
def renamelink(fctx):
r = fctx.renamed(node)
r = fctx.renamed()
if r:
return [dict(file=r[0], node=hex(r[1]))]
return []