[GRASS-dev] g.version not returning revision number. Is this a bug?

I just tried to get my revision number for creating a ticket using g.version. The revision number comes up blank. Is this a bug or something related to compiling?

GRASS 7.0.svn (nc_spm_08):~ > g.version -gr
version=7.0.svn
date=2013
revision=
build_date=2013-12-12
libgis_revision=58048
libgis_date="2013-10-18 11:00:26 -0700 (Fri, 18 Oct 2013) "

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)

www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Hi,

2013/12/21 Michael Barton <Michael.Barton@asu.edu>:

I just tried to get my revision number for creating a ticket using
g.version. The revision number comes up blank. Is this a bug or something
related to compiling?

GRASS 7.0.svn (nc_spm_08):~ > g.version -gr
version=7.0.svn
date=2013
revision=

it's related to compiling. You need to download source code using
subversion (ie. not a tarball) and to have svnversion available when
configuring GRASS.

Martin

I did that. I normally use svn up.

I think I might have done a new svn checkout after upgrading to Mavericks and new svn.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Dec 21, 2013, at 1:55 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2013/12/21 Michael Barton <Michael.Barton@asu.edu>:

I just tried to get my revision number for creating a ticket using
g.version. The revision number comes up blank. Is this a bug or something
related to compiling?

GRASS 7.0.svn (nc_spm_08):~ > g.version -gr
version=7.0.svn
date=2013
revision=

it's related to compiling. You need to download source code using
subversion (ie. not a tarball) and to have svnversion available when
configuring GRASS.

Martin

On Sat, Dec 21, 2013 at 10:26 PM, Michael Barton <Michael.Barton@asu.edu> wrote:

I did that. I normally use svn up.

I think I might have done a new svn checkout after upgrading to Mavericks and new svn.

What output do you get when running
svnversion
in the source code main directory? On Linux, I get the plain revision number.

Markus

If it is related to the checkout process, it might be something I've done here.

I've had some odd issues with subversion after upgrading to Mavericks.

1 computer worked fine with svn updata
A second computer complained that my subversion was out of date and I needed to upgrade the code, which I did.
Then the first computer complained that my code was too new and my version of subversion is too old.

It seems like I've ended up with 2 versions of subversion 1.6 and 1.7 now on all my computers. But one or the other gets called by default, probably depending on how my path statement is saved somewhere. I decided to go with 1.7 on all computers, since that seems to be the one that comes with Mavericks. But the intervening hassles may have messed up versioning. Probably it will be OK with my next update.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Dec 22, 2013, at 5:28 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Sat, Dec 21, 2013 at 10:26 PM, Michael Barton <Michael.Barton@asu.edu> wrote:

I did that. I normally use svn up.

I think I might have done a new svn checkout after upgrading to Mavericks and new svn.

What output do you get when running
svnversion
in the source code main directory? On Linux, I get the plain revision number.

Markus