# HG changeset patch # User Brendan Cully # Date 1160868022 25200 # Node ID be628f1cd3f44e6e337c6c01f15922f5365e8fa9 # Parent 22a106cb565002beaa727acccefbeaf565deb608 hgweb: really fix parent/child rename links diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -71,8 +71,8 @@ class hgweb(object): return for s in siblings: d = {'node': hex(s.node()), 'rev': s.rev()} - if hasattr(s, 'file'): - d['file'] = s.file() + if hasattr(s, 'path'): + d['file'] = s.path() d.update(args) yield d