New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82970


Ignore:
Timestamp:
08/22/11 16:17:24 (4 years ago)
Author:
cal@…
Message:

rev-upgrade: Move running rev-upgrade after upgrade to port.tcl rather
than macports::upgrade in macports.tcl so it gets run only once per call
of port upgrade.

Location:
branches/gsoc11-rev-upgrade/base/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

    r82969 r82970  
    31073107    } 
    31083108 
    3109     array set options $optionslist 
    3110     if {$status == 0 && ![global_option_isset ports_revupgrade] && ![info exists options(ports_upgrade_no-rev-upgrade)]} { 
    3111         set status [macports::revupgrade] 
    3112     } 
    31133109    return $status 
    31143110} 
  • branches/gsoc11-rev-upgrade/base/src/port/port.tcl

    r82955 r82970  
    25212521        return 1 
    25222522    } 
     2523 
    25232524    # shared depscache for all ports in the list 
    25242525    array set depscache {} 
     
    25362537    if {$status != 0} { 
    25372538        print_tickets_url 
     2539    } else { 
     2540        array set options $opts 
     2541        if {![info exists options(ports_upgrade_no-rev-upgrade)]} { 
     2542            set status [action_revupgrade $action $portlist $opts] 
     2543        } 
    25382544    } 
    25392545 
Note: See TracChangeset for help on using the changeset viewer.