diff options
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r-- | trunk/lib/common.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 07954c3..0810fd7 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -579,6 +579,17 @@ function svn_add { } +function svn_del { + + if [ -e "$1" ] && [ -d "`dirname $1`/.svn" ] && svn_check $1; then + chown_svn $1 && chgrp_svn $1 + su_svn del --force $1 + else + rm $1 + fi + +} + function svn_copy { # usage: svn_copy <orig> <dest> |