All pastes #280357 Raw Edit

Anonymous

public shellscript v1 · immutable
·published 2006-12-15 21:17 UTC
rendered paste body
#!/bin/shsource $(which import_lib.sh)import input svnAUTO=0if [ "$1" == "-y" ]; then    shift    AUTO=1fifor f in $(get_nonversioned_files "$*"); do    if [ "$AUTO" -eq 0 ]; then	prompt_for_key yn "Add file" $f    else	$retval="y"    fi    if [ "$retval" = "y" ]; then	svn add $f    fidone