mercurial/hgweb/hgweb_mod.py
changeset 3394 be628f1cd3f4
parent 3392 17894d1d9eea
child 3395 3c8f0dc9a6d3
--- 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