[ET Trac] [Einstein Toolkit] #752: GetComponents hangs when "svn info" reports a certificate warning

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Feb 10 10:50:15 CST 2012


#752: GetComponents hangs when "svn info" reports a certificate warning
----------------------------+-----------------------------------------------
  Reporter:  hinder         |       Owner:  eric9
      Type:  defect         |      Status:  new  
  Priority:  major          |   Milestone:       
 Component:  GetComponents  |     Version:       
Resolution:                 |    Keywords:       
----------------------------+-----------------------------------------------

Comment (by knarf):

 Does the following patch help with this problem?


 {{{
 --- a/GetComponents
 +++ b/GetComponents
 @@ -1289,7 +1289,7 @@ sub handle_svn {

      elsif ( $method eq 'authenticate' ) {

 -        $cmd = "$svn info $user $url";
 +        $cmd = "$svn info --non-interactive $user $url";
          $err = run_command($cmd);

          # store username and repo
 @@ -1301,7 +1301,7 @@ sub handle_svn {

      elsif ( $method eq 'verify_url' ) {
          my $dir = defined($name) ? $name : $checkout;
 -        my $cmd = "$svn info --xml $target/$dir";
 +        my $cmd = "$svn info --non-interactive --xml $target/$dir";

          my $same_url;
          my $new_url = $url;

 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/752#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list