/[webpac]/commit_chekouts.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /commit_chekouts.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 667 - (hide annotations)
Tue Feb 15 23:58:13 2005 UTC (19 years, 1 month ago) by dpavlin
File MIME type: application/x-sh
File size: 346 byte(s)
very useful tools to diff all checkouts or commit them
(with pre-defined message "local changes")

1 dpavlin 667 #!/bin/sh
2    
3     basedir=/data/webpac-
4    
5     find branches/ -type d -maxdepth 1 -mindepth 1 | grep -v .svn | cut -d\/ -f2 | while read name ; do
6     changed=`svn -q status && echo 1`
7     if [ "$changed" == '1' ] ; then
8     echo "commiting changes in $name"
9     cd "$basedir$name" && svn commit -m "local changes" || exit 1
10     else
11     echo "no changes in $name"
12     fi
13     done

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26