[GRASS-user] Revision number of GRASS binary
Glynn Clements
glynn at gclements.plus.com
Wed Oct 13 07:37:28 EDT 2010
Luigi Ponti wrote:
> Is there a way to get the svn release number of a GRASS binary from the
> command line?
> Here, 'g.version -r' yields a number (43636) that is different from the
> number in the installer name (43880) WinGRASS-6.4.SVN-r43880-1-Setup.exe
> Or maybe they are simply two different things.
In 7.0, the output from "g.version" includes the SVN revision of the
working copy (provided that the source is an SVN working copy and the
svnversion program is installed).
This feature isn't present in 6.x, so the only available information
is the gis.h revision (which is what "g.version -r" prints).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list