[Fai-commit] r4027 - people/eartoast/features/get-config-svn/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Tue Sep 26 12:36:20 UTC 2006


Author: glaweh-guest
Date: 2006-09-26 12:35:49 +0000 (Tue, 26 Sep 2006)
New Revision: 4027

Modified:
   people/eartoast/features/get-config-svn/lib/get-config-dir-svn
Log:
svn -q behaves differently than cvs -q;
we have to use grep here to take out the lines we do not want in getconf.log


Modified: people/eartoast/features/get-config-svn/lib/get-config-dir-svn
===================================================================
--- people/eartoast/features/get-config-svn/lib/get-config-dir-svn	2006-09-26 12:34:11 UTC (rev 4026)
+++ people/eartoast/features/get-config-svn/lib/get-config-dir-svn	2006-09-26 12:35:49 UTC (rev 4027)
@@ -32,9 +32,9 @@
 if [ -d "$FAI/.svn" ] ; then
    echo "Updating SVN in $FAI"
    cd $FAI
-   svn -q up $user > $LOGDIR/getconf.log
+   svn up $user | grep -v 'Updated to revision' > $LOGDIR/getconf.log
 else 
    echo "Checking out SVN"
-   svn -q co $user \
-     $svnurl $FAI > $LOGDIR/getconf.log
+   svn co $user \
+     $svnurl $FAI | grep -v 'Checked out revision' > $LOGDIR/getconf.log
 fi




More information about the Fai-commit mailing list