On Sat, Nov 13, 2010 at 05:07:00AM +0200, Miika Komu wrote: > > On 11/12/2010 05:38 PM, Diego Biurrun wrote: >> On Mon, Oct 11, 2010 at 09:51:28PM +0200, Diego Biurrun wrote: >>> I investigated an old issue that Miika asked me to look into: >>> >>> mkomu@bling:~/projects/hipl-bzr/trunk$ make version.h >>> echo "$(bzr version-info . --custom --template="#define BZR_REVISION >>> \"{revno}\"\n\n#define BZR_BRANCH \"{branch_nick}\"")"> version.h >>> ssh: Could not resolve hostname hipl.hiit.fi: Name or service not known >>> >>> It appears that 'bzr version-info' accesses the repository over the >>> network even though it should not be necessary to get the information. >>> Nonetheless the above command succeeds and version.h is created fine. >> >> I found the reason behind this error message: It only appears if you work >> on a checkout and not a full branch. So use branches if you wish to work >> without network, it's the sensible thing to do anyway :) > > I run into this problem (again) and solved the problem by copying > version.h from another checkout because I was too impatient to wait for > ssh timeout. Why not use a branch instead of a checkout? > The problem does not recur with the nightly tarball. 'make dist' creates version.h and puts it into the tarball. Diego