Mercurial > kallithea
comparison pylons_app/lib/simplehg.py @ 194:3d1dd13887f9
invalidate the repo list also for online changes. Small fixes in LoginRequired decorator.
Cleaned hgwebdir config.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 22 May 2010 02:20:26 +0200 |
parents | 3380ca40cdba |
children | da59b7e07e3c |
comparison
equal
deleted
inserted
replaced
193:50a39f923f31 | 194:3d1dd13887f9 |
---|---|
63 return HTTPNotFound()(environ, start_response) | 63 return HTTPNotFound()(environ, start_response) |
64 | 64 |
65 """we know that some change was made to repositories and we should | 65 """we know that some change was made to repositories and we should |
66 invalidate the cache to see the changes right away""" | 66 invalidate the cache to see the changes right away""" |
67 invalidate_cache('full_changelog', repo_name) | 67 invalidate_cache('full_changelog', repo_name) |
68 invalidate_cache('cached_repo_list') | |
68 return app(environ, start_response) | 69 return app(environ, start_response) |
69 | 70 |
70 def _make_app(self): | 71 def _make_app(self): |
71 hgserve = hgweb(self.repo_path) | 72 hgserve = hgweb(self.repo_path) |
72 return self.load_web_settings(hgserve) | 73 return self.load_web_settings(hgserve) |