--- a/mercurial/hgweb/webcommands.py Mon Mar 31 21:49:36 2008 -0500
+++ b/mercurial/hgweb/webcommands.py Mon Mar 31 23:14:25 2008 -0500
@@ -438,7 +438,7 @@
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()),
--- a/mercurial/hgweb/webutil.py Mon Mar 31 21:49:36 2008 -0500
+++ b/mercurial/hgweb/webutil.py Mon Mar 31 23:14:25 2008 -0500
@@ -71,7 +71,7 @@
yield d
def renamelink(fctx):
- r = fctx.renamed(node)
+ r = fctx.renamed()
if r:
return [dict(file=r[0], node=hex(r[1]))]
return []