hgweb: really fix parent/child rename links
authorBrendan Cully <brendan@kublai.com>
Sat, 14 Oct 2006 16:20:22 -0700
changeset 3394 be628f1cd3f4
parent 3393 22a106cb5650
child 3395 3c8f0dc9a6d3
hgweb: really fix parent/child rename links
mercurial/hgweb/hgweb_mod.py
--- 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