Mercurial > kallithea
diff rhodecode/model/scm.py @ 3234:21cccfea18bf beta
Return a list of invlidated keys on mark_for_invalidation func
- log.debug list of invalidated keys
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 26 Jan 2013 23:11:40 +0100 |
parents | ba2e2514a01a |
children | 85f69bf84d95 |
line wrap: on
line diff
--- a/rhodecode/model/scm.py Sat Jan 26 22:32:25 2013 +0100 +++ b/rhodecode/model/scm.py Sat Jan 26 23:11:40 2013 +0100 @@ -301,10 +301,11 @@ :param repo_name: this repo that should invalidation take place """ - CacheInvalidation.set_invalidate(repo_name=repo_name) + invalidated_keys = CacheInvalidation.set_invalidate(repo_name=repo_name) repo = Repository.get_by_repo_name(repo_name) if repo: repo.update_changeset_cache() + return invalidated_keys def toggle_following_repo(self, follow_repo_id, user_id):