diff -r 89617aacb495 -r 97c75ad3b1a0 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Sun Dec 13 18:29:16 2009 +0100 +++ b/mercurial/hgweb/hgwebdir_mod.py Tue Dec 15 12:33:04 2009 -0800 @@ -235,7 +235,8 @@ # update time with local timezone try: - d = (get_mtime(path), util.makedate()[1]) + r = hg.repository(self.ui, path) + d = (get_mtime(r.spath), util.makedate()[1]) except OSError: continue