diff --git a/scripts/setlocalversion b/scripts/setlocalversion index 72d233528ade5dfb5a98c022795c12c55aae7bbc..81d984b91594de4c69122f3b1d30d5e7bf133ccb 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -51,7 +51,7 @@ if hgid=`hg id 2>/dev/null`; then fi # Check for svn and a svn repo. -if rev=`svn info 2>/dev/null | grep '^Revision'`; then +if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then rev=`echo $rev | awk '{print $NF}'` changes=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`