Skip to content
Permalink
Browse files

rev-upgrade: Save progress in cxx_stdlib check

Use a separate database transaction for each port to save the partial
progress in case of an interrupt.
  • Loading branch information
raimue committed Mar 8, 2018
1 parent bda6687 commit 745ab373ab33dc5b1b1ef0b2703952fb8aa163ef
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/macports1.0/macports.tcl
@@ -4613,8 +4613,8 @@ proc macports::revupgrade_scanandrebuild {broken_port_counts_name opts} {
if {$fancy_output} {
$revupgrade_progress start
}
registry::write {
foreach maybe_port $maybe_cxx_ports {
foreach maybe_port $maybe_cxx_ports {
registry::write {
if {$fancy_output} {
$revupgrade_progress update $i $maybe_cxx_len
}

0 comments on commit 745ab37

Please sign in to comment.
You can’t perform that action at this time.