[ET Trac] [Einstein Toolkit] #71: GetComponents does not correctly handle missing hg

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Oct 29 02:24:04 CDT 2010


#71: GetComponents does not correctly handle missing hg
---------------------------+------------------------------------------------
 Reporter:  hinder         |       Owner:  eric9
     Type:  defect         |      Status:  new  
 Priority:  minor          |   Milestone:       
Component:  GetComponents  |     Version:       
 Keywords:                 |  
---------------------------+------------------------------------------------
 I have tried to run GetComponents to checkout the Mercurial version of
 Carpet on a system where Mercurial is not installed.  I get the error:


 Use of uninitialized value in scalar chomp at ./GetComponents line 429.
 You have requested an hg checkout, but the system was unable to find hg.
 Please enter the path to hg:
 -----------------------------------------------------------------

 at the start of the GetComponents output, but the checkout continues and
 finishes with


   92 components checked out successfully.
   0 components updated successfully.

   Time Elapsed: 14 minutes, 25 seconds

 and returns 0.

 GetComponents should return a failure code in this case and not attempt
 the checkout.  Log is attached.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/71>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list