diff mercurial/hgweb/hgweb_mod.py @ 25717:46e2c57026bc

hgweb: drop the default argument for get_stat This default argument is used twice and is making things confusing. Making it explicit helps to clarify coming changesets
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Jul 2015 10:07:51 -0700
parents 328739ea70c3
children 2e32f0897bcf
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Thu Jul 02 23:46:18 2015 -0700
+++ b/mercurial/hgweb/hgweb_mod.py	Fri Jul 03 10:07:51 2015 -0700
@@ -120,7 +120,7 @@
             return repo.filtered('served')
 
     def refresh(self, request=None):
-        st = get_stat(self.repo.spath)
+        st = get_stat(self.repo.spath, '00changelog.i')
         pst = get_stat(self.repo.spath, 'phaseroots')
         # changelog mtime and size, phaseroots mtime and size
         repostate = ((st.st_mtime, st.st_size), (pst.st_mtime, pst.st_size))