Ignore:
Timestamp:
05/18/08 01:35:50 (4 years ago)
Author:
hverton
Message:

added missing svnauth on some of the SVN command calls, caused a hung process when SVN required authentication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/ExiteCMS/tracsvn/php-files/modules/tracsvn/tracsvn_include.php

    r1326 r1415  
    144144    // get the file 
    145145    $filename = tempnam("temp", ""); 
    146     $raw = tracsvn_ExtCmd(tracsvn_quoteCmd($settings['tracsvn_svncmd']." cat ".$settings['tracsvn_url'].$svnfile['path']."@".$svnfile['rev']." > $filename")); 
     146    $raw = tracsvn_ExtCmd(tracsvn_quoteCmd($settings['tracsvn_svncmd']." cat ".$settings['tracsvn_url'].$svnfile['path']."@".$svnfile['rev']." ".$settings['tracsvn_svnauth']." > $filename")); 
    147147    if ($raw[0] == "ERROR") { 
    148148        $output = array(); 
     
    195195    // get the base revision 
    196196    $oldfile = tempnam("temp", ""); 
    197     $raw = tracsvn_ExtCmd(tracsvn_quoteCmd($settings['tracsvn_svncmd']." cat ".$settings['tracsvn_url'].$diffs['path']."@".$diffs['base_rev']." > $oldfile")); 
     197    $raw = tracsvn_ExtCmd(tracsvn_quoteCmd($settings['tracsvn_svncmd']." cat ".$settings['tracsvn_url'].$diffs['path']."@".$diffs['base_rev']." ".$settings['tracsvn_svnauth']." > $oldfile")); 
    198198    if ($raw[0] == "ERROR") { 
    199199        $output = array(); 
     
    208208    // get the new revision 
    209209    $newfile = tempnam("temp", ""); 
    210     $raw = tracsvn_ExtCmd(tracsvn_quoteCmd($settings['tracsvn_svncmd']." cat ".$settings['tracsvn_url'].$diffs['path']."@".$diffs['rev']." > $newfile")); 
     210    $raw = tracsvn_ExtCmd(tracsvn_quoteCmd($settings['tracsvn_svncmd']." cat ".$settings['tracsvn_url'].$diffs['path']."@".$diffs['rev']." ".$settings['tracsvn_svnauth']." > $newfile")); 
    211211    if ($raw[0] == "ERROR") { 
    212212        $output = array(); 
Note: See TracChangeset for help on using the changeset viewer.