Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] RFC - "system-wide-only" MCA parameters
From: Sylvain Jeaugey (sylvain.jeaugey_at_[hidden])
Date: 2009-09-04 07:34:54


On Fri, 4 Sep 2009, Jeff Squyres wrote:

> ------
> *** Checking versions
> checking for SVN version... done
> checking Open MPI version... 1.4a1hgf11244ed72b5
> up to changeset c4b117c5439b
> checking Open MPI release date... Unreleased developer copy
> checking Open MPI Subversion repository version... hgf11244ed72b5
> up to changeset c4b117c5439b
> checking for SVN version... done
> ...etc.
> ------
>
> Do you see this, or do you get a single-line version number?
I get the same. The reason is simple :

$ hg tip
changeset: 9:f11244ed72b5
tag: tip
user: Nadia Derbey <Nadia.Derbey_at_[hidden]>
date: Thu Sep 03 14:21:47 2009 +0200
summary: up to changeset c4b117c5439b

$ hg -v tip | grep changeset | cut -d: -f3 # done by configure
f11244ed72b5
up to changeset c4b117c5439b

So yes, if anyone includes the word "changeset" in the commit message,
you'll have the same bug :-)

So,
hg -R "$srcdir" tip | head -1 | grep "^changeset:" | cut -d: -f3
would certainly be safer.

Sylvain