You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2007/08/13 15:50:04 UTC
svn commit: r565351 - /incubator/servicemix/scripts/svnignore.sh
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 = *