diff 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
line wrap: on
line diff
--- a/pylons_app/lib/simplehg.py	Sat May 22 02:00:39 2010 +0200
+++ b/pylons_app/lib/simplehg.py	Sat May 22 02:20:26 2010 +0200
@@ -65,6 +65,7 @@
             """we know that some change was made to repositories and we should
             invalidate the cache to see the changes right away"""
             invalidate_cache('full_changelog', repo_name)
+            invalidate_cache('cached_repo_list')
             return app(environ, start_response)            
 
     def _make_app(self):