Changeset 17781


Ignore:
Timestamp:
2009-09-28T14:26:47+02:00 (7 years ago)
Author:
nico
Message:

[scripts] getver: get svn rev from last commit so that we have consistent revision numbers between git and svn

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/8.09/scripts/getver.sh

    r12380 r17781  
    1212try_svn() { 
    1313        [ -d .svn ] || return 1 
    14         REV="$(svn info | awk '/^Revision:/ { print $2 }')" 
     14        REV="$(svn info -r COMMITTED | awk '/^Revision:/ { print $2 }')" 
    1515        REV="${REV:+r$REV}" 
    1616        [ -n "$REV" ] 
  • trunk/scripts/getver.sh

    r17432 r17781  
    1212try_svn() { 
    1313        [ -d .svn ] || return 1 
    14         REV="$(svn info | awk '/^Revision:/ { print $2 }')" 
     14        REV="$(svn info -r COMMITTED | awk '/^Revision:/ { print $2 }')" 
    1515        REV="${REV:+r$REV}" 
    1616        [ -n "$REV" ] 
Note: See TracChangeset for help on using the changeset viewer.