Why does it look for a repository in the output directory ???

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Oct 22 07:11:13 PDT 2012


On 2012-10-22 13:48, David Holmes wrote:
> When I run configure the first thing I see is:
>
> abort: no repository found in 
> '/export/users/dh198349/build-infra/b00/se-linux-i586-client-ea' (.hg 
> not found)!
>
> This is my output directory, so why is the build trying to run a hg 
> command on it?

This is a bad side-effect of my added robustness checks to configure, 
which looks for actually (in the "hg status" sense) modified files 
before complaining that the generated file is out of date. I didn't 
remember that hg needed to have a proper working directory to be able to 
check status, and never noticed it myself since I always ran configure 
in the top-level repo.

I'll fix it. Thank you for your report.

/Magnus



More information about the build-infra-dev mailing list