You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by sg...@apache.org on 2008/05/07 09:10:04 UTC

svn commit: r654012 - in /incubator/shindig/trunk/etc: set_svn_properties.sh svn-props

Author: sgala
Date: Wed May  7 00:10:04 2008
New Revision: 654012

URL: http://svn.apache.org/viewvc?rev=654012&view=rev
Log:
Merge branch 'revert_keywords'

Modified:
    incubator/shindig/trunk/etc/set_svn_properties.sh
    incubator/shindig/trunk/etc/svn-props

Modified: incubator/shindig/trunk/etc/set_svn_properties.sh
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/etc/set_svn_properties.sh?rev=654012&r1=654011&r2=654012&view=diff
==============================================================================
--- incubator/shindig/trunk/etc/set_svn_properties.sh (original)
+++ incubator/shindig/trunk/etc/set_svn_properties.sh Wed May  7 00:10:04 2008
@@ -2,48 +2,40 @@
 # this script will set the proper svn properties on all the files in the tree
 # It pretty much requires a gnu compatible xargs (for the -r flag).  Running
 # on Linux is probably the best option
+# Note: use the folling line if you want to remove svn:keywords
+for ext in java php xml xsl xsd wsdl properties txt htm* css js ; do find . -path '*/.svn' -prune -o  -name "*.$ext" -print0 | xargs -0  -r  svn propdel  svn:keywords ; done
 
 
 find . -path '*/.svn' -prune -o  -name "*.java" -print0 | xargs -0  -r svn propset svn:eol-style native
-find . -path '*/.svn' -prune -o  -name "*.java" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.php" -print0 | xargs -0  -r svn propset svn:eol-style native
-find . -path '*/.svn' -prune -o  -name "*.php" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.xml" -print0 | xargs -0  -r  svn propset svn:mime-type text/xml
 find . -path '*/.svn' -prune -o  -name "*.xml" -print0 | xargs -0  -r  svn propset svn:eol-style native
-find . -path '*/.svn' -prune -o  -name "*.xml" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.xsl" -print0 | xargs -0  -r  svn propset svn:mime-type text/xml
 find . -path '*/.svn' -prune -o  -name "*.xsl" -print0 | xargs -0  -r  svn propset svn:eol-style native
-find . -path '*/.svn' -prune -o  -name "*.xsl" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.xsd" -print0 | xargs -0  -r  svn propset svn:mime-type text/xml
 find . -path '*/.svn' -prune -o  -name "*.xsd" -print0 | xargs -0  -r  svn propset svn:eol-style native
-find . -path '*/.svn' -prune -o  -name "*.xsd" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.wsdl" -print0 | xargs -0  -r  svn propset svn:mime-type text/xml
 find . -path '*/.svn' -prune -o  -name "*.wsdl" -print0 | xargs -0  -r  svn propset svn:eol-style native
-find . -path '*/.svn' -prune -o  -name "*.wsdl" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.properties" -print0 | xargs -0  -r  svn propset svn:mime-type text/plain
 find . -path '*/.svn' -prune -o  -name "*.properties" -print0 | xargs -0  -r  svn propset svn:eol-style native
-find . -path '*/.svn' -prune -o  -name "*.properties" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.txt" -print0 | xargs -0  -r  svn propset svn:eol-style native
 find . -path '*/.svn' -prune -o  -name "*.txt" -print0 | xargs -0  -r  svn propset svn:mime-type text/plain
 
 find . -path '*/.svn' -prune -o  -name "*.htm*" -print0 | xargs -0  -r  svn propset svn:eol-style native
 find . -path '*/.svn' -prune -o  -name "*.htm*" -print0 | xargs -0  -r  svn propset svn:mime-type text/html
-find . -path '*/.svn' -prune -o  -name "*.htm*" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.css" -print0 | xargs -0  -r  svn propset svn:eol-style native
 find . -path '*/.svn' -prune -o  -name "*.css" -print0 | xargs -0  -r  svn propset svn:mime-type text/css
-find . -path '*/.svn' -prune -o  -name "*.css" -print0 | xargs -0  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "*.js" -print0 | xargs -0  -r  svn propset svn:eol-style native
 find . -path '*/.svn' -prune -o  -name "*.js" -print0 | xargs -0  -r  svn propset svn:mime-type text/javascript
-find . -path '*/.svn' -prune -o  -name "*.js" -print | grep -v jquery | xargs  -r  svn propset svn:keywords "Author Date Id Revision Rev"
 
 find . -path '*/.svn' -prune -o  -name "README*" -print0 | xargs -0  -r  svn propset svn:eol-style native
 find . -path '*/.svn' -prune -o  -name "README*" -print0 | xargs -0  -r  svn propset svn:mime-type text/plain

Modified: incubator/shindig/trunk/etc/svn-props
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/etc/svn-props?rev=654012&r1=654011&r2=654012&view=diff
==============================================================================
--- incubator/shindig/trunk/etc/svn-props (original)
+++ incubator/shindig/trunk/etc/svn-props Wed May  7 00:10:04 2008
@@ -31,28 +31,29 @@
 DISCLAIMER* = svn:eol-style=native;svn:mime-type=text/plain
 Makefile = svn:eol-style=native;svn:mime-type=text/plain
 ChangeLog = svn:eol-style=native;svn:mime-type=text/plain
-*.c = svn:eol-style=native;svn:keywords=Rev Date
-*.cpp = svn:eol-style=native;svn:keywords=Rev Date
-*.h = svn:eol-style=native;svn:keywords=Rev Date
+*.c = svn:eol-style=native
+*.cpp = svn:eol-style=native
+*.h = svn:eol-style=native
 *.dsp = svn:eol-style=CRLF
 *.dsw = svn:eol-style=CRLF
 *.sh = svn:eol-style=native;svn:executable
 *.png = svn:mime-type=image/png
 *.jpg = svn:mime-type=image/jpeg
 *.gif = svn:mime-type=image/gif
-*.java = svn:eol-style=native;svn:keywords=Rev Date
-*.xml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
-*.xsl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
-*.xsd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
-*.wsdl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
-*.properties = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Rev Date
+*.java = svn:eol-style=native
+*.php = svn:eol-style=native
+*.xml = svn:mime-type=text/xml;svn:eol-style=native
+*.xsl = svn:mime-type=text/xml;svn:eol-style=native
+*.xsd = svn:mime-type=text/xml;svn:eol-style=native
+*.wsdl = svn:mime-type=text/xml;svn:eol-style=native
+*.properties = svn:mime-type=text/plain;svn:eol-style=native
 *.txt = svn:eol-style=native;svn:mime-type=text/plain
-*.htm* = svn:eol-style=native;svn:mime-type=text/html;svn:keywords=Rev Date
+*.htm* = svn:eol-style=native;svn:mime-type=text/html
 *.bat = svn:eol-style=native
 *.pl = svn:eol-style=native
 *.py = svn:eol-style=native
 *.cmd = svn:eol-style=native
 *.css = svn:eol-style=native
 *.js = svn:eol-style=native
-*.wsdd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.wsdd = svn:mime-type=text/xml;svn:eol-style=native
 *.fragment = svn:eol-style=native