The number of pending changes is pretty useless, so encoding it into the version is just annoying by the constant shuffle in corresponding modules.
Unified · Split
| @@ -55,7 +55,7 @@ if rev=`svn info 2>/dev/null | grep '^Revision'`; then · 54 unmodified lines | |||
| 55 | 55 | ||
| 56 | # Are there uncommitted changes? | 56 | # Are there uncommitted changes? |
| 57 | if [ $changes != 0 ]; then | 57 | if [ $changes != 0 ]; then |
| 58 | printf -- '-svn%s%s%s' "$rev" -dirty "$changes" | 58 | printf -- '-svn%s%s' "$rev" -dirty |
| 59 | else | 59 | else |
| 60 | printf -- '-svn%s' "$rev" | 60 | printf -- '-svn%s' "$rev" |
| 61 | fi | 61 | fi |