diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-03-06 23:02:34 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-03-06 23:02:34 +0000 |
commit | 97b6bcf5c4c280b28b842a66ad3c826fa65dc289 (patch) | |
tree | cd3b78e2184ce7891856a1786414973ced42bff1 | |
parent | f1ce9640f043f5b91d1965cdbb698862da38de78 (diff) | |
download | obnam-97b6bcf5c4c280b28b842a66ad3c826fa65dc289.tar.gz |
Re-open repository after committing checkpoint
This makes sure there are no lingering stale cached
B-tree nodes in memory anymore.
-rw-r--r-- | obnamlib/plugins/backup_plugin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/obnamlib/plugins/backup_plugin.py b/obnamlib/plugins/backup_plugin.py index 6751bae3..f253af9c 100644 --- a/obnamlib/plugins/backup_plugin.py +++ b/obnamlib/plugins/backup_plugin.py @@ -298,6 +298,7 @@ class BackupPlugin(obnamlib.ObnamPlugin): self.backup_parents('.') self.repo.commit_client(checkpoint=True) self.repo.commit_shared() + self.repo = self.app.open_repository() self.repo.lock_client(self.app.settings['client-name']) self.repo.lock_shared() self.repo.start_generation() |