mercurial/hgweb/hgweb_mod.py
changeset 10078 97c75ad3b1a0
parent 9910 6f92997dbdca
child 10264 d6512b3e9ac0
--- a/mercurial/hgweb/hgweb_mod.py	Sun Dec 13 18:29:16 2009 +0100
+++ b/mercurial/hgweb/hgweb_mod.py	Tue Dec 15 12:33:04 2009 -0800
@@ -57,7 +57,7 @@
     def refresh(self, request=None):
         if request:
             self.repo.ui.environ = request.env
-        mtime = get_mtime(self.repo.root)
+        mtime = get_mtime(self.repo.spath)
         if mtime != self.mtime:
             self.mtime = mtime
             self.repo = hg.repository(self.repo.ui, self.repo.root)