From 586900a585cb7924349a4011e0268752305bcf2b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 2 Jul 2016 17:46:20 +0000 Subject: Add note about client lock needed for flush_cache --- obnamlib/repo_interface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py index f948c68e..26bc1d34 100644 --- a/obnamlib/repo_interface.py +++ b/obnamlib/repo_interface.py @@ -546,6 +546,8 @@ class RepositoryInterface(object): def flush_client(self, client_name): '''Flush cached data from client. This is not a commit. + This requires the client to be locked. + This is a NOP, unless the a specific repository format gives it meaning. -- cgit v1.2.1