mercurial/hgweb/hgwebdir_mod.py
changeset 10078 97c75ad3b1a0
parent 9903 5d748045c2ae
child 10264 d6512b3e9ac0
--- 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