tasn pushed a commit to branch master.
commit 951c05786390ea7d2024e09a77afa10ffedf6c06
Author: Doug Newgard <[email protected]>
Date: Tue May 7 11:42:55 2013 +0100
Update v_rev for switch to Git.
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3f31f96..50d23ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,8 +3,7 @@
m4_define([v_maj], [0])
m4_define([v_min], [2])
m4_define([v_mic], [0])
-m4_define([v_rev], m4_esyscmd([(LC_ALL=C svnversion "${SVN_REPO_PATH:-.}" |
grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F :
'{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
-m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep
-m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
+m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo
0) | tr -d '\n']))dnl
##-- When released, remove the dnl on the below line
dnl m4_undefine([v_rev])
##-- When doing snapshots - change soname. remove dnl on below line
--
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may