#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.