From: Ian Jackson Date: Fri, 21 May 2021 13:27:41 +0000 (+0100) Subject: otter(1): reset bundles, do upload X-Git-Tag: otter-0.6.0~111 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ee256f53242b68c7d2925de6140cb1b5fff87ba1;p=otter.git otter(1): reset bundles, do upload Signed-off-by: Ian Jackson --- diff --git a/src/bin/otter.rs b/src/bin/otter.rs index 3f2430f4..e58b7f2b 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -829,7 +829,11 @@ mod reset_game { if ma.verbose >= 0 { eprintln!("Re-uploading bundles: {}", why); } - todo!(); + let progress = termprogress::new(); + let mut progress = termprogress::Nest::new(local.len(), progress); + for bundle in local { + bundle.upload(&ma, &mut chan, &mut progress)?; + } }, } }