scripts/getver.sh: Fix revision numbering (for Github-based repo)
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 11 Oct 2016 09:20:15 +0000 (12:20 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 7 Jan 2017 10:52:02 +0000 (12:52 +0200)
commitd01001bfac68aa1e489b842001799b4cea3a6bd5
treec86099cb0b4df8ad735e3ea56f9982cb97f1d0c9
parent1fea0d89f5b7867262213fc0ac459c4ab861e465
scripts/getver.sh: Fix revision numbering (for Github-based repo)

Fix Chaos Calmer revision numbering. CC has been stuck at r49389 since
the final move to Github as revision number evaluation has still been
based on git-svn-id that is not found in the new original Github commits.
So the revision has been stuck at last svn commit in June.

This patch
* copies the git revision logic from master and uses v15.05.1 tag
  as the base. As the last commit with a known svn revision 49389 was
  cb4f071 with tag+135, use 49254 as the adjustment. That produces
  r49461 for the current 8a1f7c9

* removes the useless svn evaluation (similarly as in master).

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
scripts/getver.sh