[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Re: global ignore & keywords

From: Julien TOUCHE <julien.touche_at_lycos.com>
Date: 2004-12-12 11:20:08 CET

maybe you can give me your comments on the following script (to set on
server all properties) ?

=== svn-propset.sh
# set properties on all files of a svn repository
# Dec 2004, Julien Touche
# from http://svnbook.red-bean.com/svnbook-1.1/svn-book.html
# check properties with `svn proplist --verbose file`

projects="proj1 proj2"

for proj in $projects ; do
         mkdir -p $dst/$proj
         cd $dst/$proj
         svn co file://$repos/$proj/trunk
         ## no properties on folder
         for i in `find . -type f |grep -v '/.svn/'`; do
                 svn propset copyright '(c) 2003 Red-Bean Software' $i
                 [ -f $license ] && svn propset license -F $license $i
                 svn propset svn:keywords 'LastChangedDate Author Id
HeadURL URL Rev Date' $i
                 svn propset bugtraq:warnifnoissue false $i
                 svn propset bugtraq:message 'Issue : %BUGID%' $i
                 #svn propset bugtraq:url
'http://tortoisesvn.tigris.org/issues/show_bug.cgi?id=%BUGID%' $i
                 svn propset tsvn:minlogmsgsize 8 $i
                 svn propset tsvn:logwidthmarker 72 $i
                 svn propset tsvn:logtemplate "my log\nadd
..\nchange\n..." $i
         cd trunk && svn commit --message 'Setting properties'




To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Dec 12 11:21:12 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.