Changeset 536 for trunk


Ignore:
Timestamp:
08/21/2011 17:48:31 (9 months ago)
Author:
blee
Message:

Commit changes to the repository before updating the working copy.

This ensures that the working copy is in a consistent state before
rolling out changes onto the filesystem.

Fixes #146

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman.in

    r521 r536  
    248248    $SUDO ${SUDO:+-v} 
    249249 
    250     update 
    251      
    252250    if status=$(get_status $modules $symlinks); then 
    253251        nocommit=false 
     
    260258    echo "Commit operation started" >&2 
    261259    $nocommit || conf_commit_file $msg $files || return $? 
     260 
     261    update 
     262 
    262263    for layer in $(conf_get_recipe) ; do 
    263264        echo "Rolling on $layer..." 
     
    307308    $SUDO ${SUDO:+-v} 
    308309 
    309     update 
    310310    if status=$(get_status $files) ; then 
    311311        nocommit=false 
     
    315315    echo "Installation operation started." >&2 
    316316    $nocommit || conf_commit_file "$msg" "$files" || return $? 
     317 
     318    update 
    317319     
    318320    for layer in $(conf_get_recipe) ; do 
Note: See TracChangeset for help on using the changeset viewer.