Mercurial > hg
comparison tests/test-filecache.py @ 17324:9f94358f9f93 stable
localrepo: clear the filecache on _rollback() and destroyed()
This restores the old behaviour of clearing the filecache when the repo is
destroyed but combines it with also clearing it on _rollback. Before, we tried
to only call it through _rollback but that ruined callers of destroyed.
Doing it on both code paths covers destroyed being called from somewhere
else, e.g. strip.
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Sat, 28 Jul 2012 22:40:30 +0300 |
parents | cfb6682961b8 |
children | 3e4a944c0d04 |
comparison
equal
deleted
inserted
replaced
17323:2be2a070f294 | 17324:9f94358f9f93 |
---|