From 6ec6c54ccf25bd5e72559b00e58c832bba7416a9 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 10 Aug 2008 21:38:36 +0300 Subject: Added --max-mappings. --- obnam | 2 ++ 1 file changed, 2 insertions(+) (limited to 'obnam') diff --git a/obnam b/obnam index 2a3a6723..443c2125 100755 --- a/obnam +++ b/obnam @@ -31,6 +31,8 @@ def main(): try: context = obnamlib.context.Context() args = obnamlib.config.parse_options(context.config, sys.argv[1:]) + context.map.max = context.config.getint("backup", "max-mappings") + context.contmap.max = context.config.getint("backup", "max-mappings") context.cache = obnamlib.cache.Cache(context.config) context.be = obnamlib.backend.init(context.config, context.cache) context.be.set_progress_reporter(context.progress) -- cgit v1.2.1