Skip to contentSkip to conversation

setlocalversion: dont include svn change count

PATCH New Mike Frysinger 1 participant 1 message Aug 21, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setlocalversion: dont include svn change count

The number of pending changes is pretty useless, so encoding it into the version is just annoying by the constant shuffle in corresponding modules.

---
 scripts/setlocalversion |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/setlocalversion +1 -1
index 83b7512..397a04a 100755
@@ -55,7 +55,7 @@ if rev=`svn info 2>/dev/null | grep '^Revision'`; then
 
 	# Are there uncommitted changes?
 	if [ $changes != 0 ]; then
-		printf -- '-svn%s%s%s' "$rev" -dirty "$changes"
+		printf -- '-svn%s%s%s' "$rev" -dirty
 	else
 		printf -- '-svn%s' "$rev"
 	fi
Signature · 1 line
1.5.6.5