changeset 3394:be628f1cd3f4

hgweb: really fix parent/child rename links
author Brendan Cully <brendan@kublai.com>
date Sat, 14 Oct 2006 16:20:22 -0700
parents 22a106cb5650
children 3c8f0dc9a6d3
files mercurial/hgweb/hgweb_mod.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Sat Oct 14 16:07:52 2006 -0700
+++ b/mercurial/hgweb/hgweb_mod.py	Sat Oct 14 16:20:22 2006 -0700
@@ -71,8 +71,8 @@
             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