···776776 Ok (name, url))
777777 pushed_repos
778778 in
779779- let n_pushed = List.length pushed_repos in
780779 Tty.Progress.finish ~message:"exported" progress;
781781- let n_missing = List.length missing in
782780 log_missing_repos ~all_pkgs missing;
783781 match log_push_results push_results with
784782 | Error e -> Error e
···791789 if ws_errors <> [] then
792790 let _name, e = List.hd ws_errors in
793791 Error (Ctx.Git_error e)
794794- else begin
795795- if upstream then
796796- Log.app (fun m -> m "✓ Pushed %d repos to remotes." n_pushed)
797797- else
798798- Log.app (fun m ->
799799- m "✓ %d repos exported to checkouts.%s" n_pushed
800800- (if n_missing > 0 then Fmt.str " %d skipped." n_missing
801801- else ""));
802802- if not upstream then
803803- Log.app (fun m ->
804804- m " Next: monopam push --upstream # to send to remotes");
805805- Ok ()
806806- end)
792792+ else Ok ())
807793808794let load_sources ~fs ~config =
809795 let sources_path = Fpath.(Config.Paths.monorepo config / "sources.toml") in