Changeset 12676
- Timestamp:
- 10/05/07 14:39:16 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.core/midcom/services/rcs/backend/rcs.php
r11628 r12676 128 128 } 129 129 130 $command = "co -l {$filename} ";130 $command = "co -l {$filename} 2>&1"; 131 131 $status = $this->exec($command); 132 132 … … 135 135 136 136 $this->rcs_writefile($guid, $data); 137 $command = "ci -m'" . $message . "' {$filename} ";137 $command = "ci -m'" . $message . "' {$filename} 2>&1"; 138 138 $status = $this->exec($command); 139 139 … … 165 165 //settype ($revision, "float"); 166 166 167 $command = "co -r" . trim($revision) . " " . $filepath ;167 $command = "co -r" . trim($revision) . " " . $filepath . "2>&1"; 168 168 $output = null; 169 169 $status = null; … … 511 511 } 512 512 513 $command = sprintf("ci -i -t-'%s' %s ", $description, $filepath);513 $command = sprintf("ci -i -t-'%s' %s 2>&1", $description, $filepath); 514 514 $status = $this->exec($command); 515 515 … … 527 527 $status = null; 528 528 $output = null; 529 @exec($command, $output, $status); 529 530 debug_push_class(__CLASS__, __FUNCTION__); 531 debug_add("Executing '{$command}'"); 532 debug_pop(); 533 534 @exec($command, $output, $status); 530 535 return $status; 531 536 } … … 602 607 } 603 608 } 604 } elseif (!is_null($GLOBALS['midcom_config']['utility_diff'])){ 609 } 610 elseif (!is_null($GLOBALS['midcom_config']['utility_diff'])) 611 { 605 612 /* this doesnt work */ 606 $command = $GLOBALS['midcom_config']['utility_diff'] . " -u <(echo \"$oldest_value\") <(echo \"{$newest[$attribute]}\") ";613 $command = $GLOBALS['midcom_config']['utility_diff'] . " -u <(echo \"$oldest_value\") <(echo \"{$newest[$attribute]}\")"; 607 614 608 615 $output = array(); trunk/midcom/midcom.helper.datamanager2/storage/midgard.php
r12093 r12676 42 42 debug_push_class(__CLASS__, __FUNCTION__); 43 43 debug_print_r('Object passed:', $object); 44 debug_pop(); 44 45 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, 45 46 'The midgard storage backend requires a MidCOM DBA object.');
