All pastes #249374 Raw Edit

Someone

public text v1 · immutable
#249374 ·published 2006-11-15 18:43 UTC
rendered paste body
function cd {
    builtin cd $1
    if [ -e .svn ]
	then
	DIFFS=`svn status| egrep "^M"`
	if [ -z "$DIFFS" ]
	    then
	    exit
	else
	    echo "This directory contains uncommited changes."
	fi
    fi
}