diff -r 89617aacb495 -r 97c75ad3b1a0 mercurial/hgweb/hgweb_mod.py --- 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)