[GRASS-dev] Re: [GRASS GIS] #587: svn versions should better reflect svn rev

GRASS GIS trac at osgeo.org
Sat Dec 19 12:54:51 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 glynn):

 Replying to [comment:27 hamish]:

 > 'svnversion' gives the wrong answer. e.g. for 6.2svn the result should
 > be 6.2.svn30152 but after 'cd releasebranch_6_2; svn up' svnversion
 > reports r40065. ie the global repo rev number, not the latest change
 > to the branch rev.; is the relevant one.

 You can use `svnversion -c` to get the last-changed revision, which is
 (presumably) what we want here.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/587#comment:28>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list