Don't bother doing `svn st` as it takes a retarded amount of time when the source is cold
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -58,14 +58,7 @@ fi · 57 unmodified lines | ||
| 58 | 58 | # Check for svn and a svn repo. |
| 59 | 59 | if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then |
| 60 | 60 | rev=`echo $rev | awk '{print $NF}'` |
| 61 | − changes=`svn status 2>/dev/null | grep '^[AMD]' | wc -l` | |
| 62 | − | |
| 63 | − # Are there uncommitted changes? | |
| 64 | − if [ $changes != 0 ]; then | |
| 65 | − printf -- '-svn%s%s' "$rev" -dirty | |
| 66 | − else | |
| 67 | − printf -- '-svn%s' "$rev" | |
| 68 | − fi | |
| 61 | + printf -- '-svn%s' "$rev" | |
| 69 | 62 | |
| 70 | 63 | # All done with svn |
| 71 | 64 | exit |