servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r565351 - /incubator/servicemix/scripts/svnignore.sh
Date Mon, 13 Aug 2007 13:50:04 GMT
Author: gnodet
Date: Mon Aug 13 06:50:02 2007
New Revision: 565351

URL: http://svn.apache.org/viewvc?view=rev&rev=565351
Log:
Add a simple script to add svn:ignore property

Added:
    incubator/servicemix/scripts/svnignore.sh   (with props)

Added: incubator/servicemix/scripts/svnignore.sh
URL: http://svn.apache.org/viewvc/incubator/servicemix/scripts/svnignore.sh?view=auto&rev=565351
==============================================================================
--- incubator/servicemix/scripts/svnignore.sh (added)
+++ incubator/servicemix/scripts/svnignore.sh Mon Aug 13 06:50:02 2007
@@ -0,0 +1,18 @@
+#!/bin/bash
+if [ -z "$1" ]; then
+	echo usage: $0 name [dir]
+	echo This command will add name to the list of svn:ignore properties
+	echo for this directory
+	exit
+fi
+NAME=$1
+if [ -z "$2" ]; then
+	DIR=.
+else
+	DIR=$2
+fi
+svn propget svn:ignore $DIR | grep -v ^$ > .svnignore.props
+echo $NAME >> .svnignore.props
+svn propset svn:ignore $DIR -F .svnignore.props
+rm .svnignore.props
+

Propchange: incubator/servicemix/scripts/svnignore.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message