:
'''Remove a client from the repository. This removes all data related to the client, including all actual file data unless other clients also use it. '''
tracing.trace('client_name=%s', client_name)
self.require_root_lock()
if client_name notin self.list_clients():
raise obnamlib.Error('client %s does not exist' % client_name)
self.removed_clients.append(client_name)