Changeset 797 for dasscm


Ignore:
Timestamp:
Sep 17, 2009, 2:50:23 PM (15 years ago)
Author:
joergs
Message:

bugfix: svn credentials at diff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/dasscm

    r770 r797  
    519519}
    520520
     521
     522
    521523sub svn_update( ;$ )
    522524{
    523525    my $update_path = shift || "";
     526
     527    # return value
     528    my $update_ok = 1;
    524529
    525530    # use this flag to do only one update per run
     
    532537        if ( $rc_update != 0 ) {
    533538            error("failed to update local repository ($update_path)");
     539            $update_ok = 0;
    534540        } elsif ( not $update_path ) {
    535541
     
    538544        }
    539545    }
    540 }
     546    return $update_ok;
     547}
     548
     549
    541550
    542551sub svn_ls( ;@ )
     
    10561065    #print "$basename,$dirname_prod,$dirname_repo\n";
    10571066
    1058     ( my $rc_update, my @result ) = run_command("$SVN update $filename_repo");
    1059     if ( $rc_update != 0 ) {
    1060         print @result;
    1061         die;
    1062     }
     1067    svn_update();
    10631068
    10641069    ( my $rc_diff, my @diff_result ) =
Note: See TracChangeset for help on using the changeset viewer.