[GRASS-dev] Re: [GRASS GIS] #587: svn versions should better
reflect svn rev
GRASS GIS
trac at osgeo.org
Sun Dec 20 09:10:22 EST 2009
#587: svn versions should better reflect svn rev
--------------------------+-------------------------------------------------
Reporter: hamish | Owner: martinl
Type: enhancement | Status: reopened
Priority: major | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: | Keywords: g.version
Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by martinl):
Replying to [comment:27 hamish]:
> ok, I've had a chance to get back to this one, "-1" in its current form.
>
>
> instead of:
{{{
> fprintf(stdout, "GRASS %s (%s) - r%s\n",
> GRASS_VERSION_NUMBER, GRASS_VERSION_DATE,
> GRASS_VERSION_SVN);
}}}
>
> please consider:
>
{{{
> fprintf(stdout, "GRASS %s.svn%s (%s)\n",
> GRASS_VERSION_NUMBER, GRASS_VERSION_SVN,
> GRASS_VERSION_DATE);
}}}
OK, done in r40090. {{{g.version}}} also reflects verbosity level.
{{{
g.version
GRASS 7.0.svn (2009)
g.version --q
GRASS 7.0.svn
g.version --v
GRASS 7.0.svn.40065 (2009)
}}}
[...]
Martin
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/587#comment:30>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list