##// END OF EJS Templates
hgweb: run with "served" filter...
Pierre-Yves David -
r18429:e9ea0f0f default
parent child Browse files
Show More
@@ -59,6 +59,7 b' class hgweb(object):'
59 59 else:
60 60 self.repo = repo
61 61
62 self.repo = self.repo.filtered('served')
62 63 self.repo.ui.setconfig('ui', 'report_untrusted', 'off')
63 64 self.repo.ui.setconfig('ui', 'nontty', 'true')
64 65 hook.redirect(True)
@@ -95,6 +96,7 b' class hgweb(object):'
95 96 self.mtime = st.st_mtime
96 97 self.size = st.st_size
97 98 self.repo = hg.repository(self.repo.ui, self.repo.root)
99 self.repo = self.repo.filtered('served')
98 100 self.maxchanges = int(self.config("web", "maxchanges", 10))
99 101 self.stripecount = int(self.config("web", "stripes", 1))
100 102 self.maxshortchanges = int(self.config("web", "maxshortchanges",
General Comments 0
You need to be logged in to leave comments. Login now