Revision: 78360
          http://sourceforge.net/p/brlcad/code/78360
Author:   starseeker
Date:     2021-03-03 04:14:18 +0000 (Wed, 03 Mar 2021)
Log Message:
-----------
Strip empty files/directories from comparisons.

Modified Paths:
--------------
    brlcad/trunk/misc/repoconv/verify2/checkout_check_parallel.sh

Modified: brlcad/trunk/misc/repoconv/verify2/checkout_check_parallel.sh
===================================================================
--- brlcad/trunk/misc/repoconv/verify2/checkout_check_parallel.sh       
2021-03-01 21:48:29 UTC (rev 78359)
+++ brlcad/trunk/misc/repoconv/verify2/checkout_check_parallel.sh       
2021-03-03 04:14:18 UTC (rev 78360)
@@ -28,10 +28,12 @@
                        svn checkout -r$REV 
file://$SVNREPO/brlcad/branches/$BRANCH@$REV r$REV  1>/dev/null 2>/dev/null
                        BRANCHDIR="r$REV/$BRANCH"
                fi
-               DIFFSTATUS=$(diff --no-dereference -qrw -I '$Id' -I '$Revision' 
-I'$Header' -I'$Sour  ce' -I'$Date' -I'$Log' -I'$Locker' --exclude ".cvsignore" 
--exclude ".gitignore" --exclude "terra.dsp" --exclude   ".git" --exclude 
".svn" --exclude "saxon65.jar" --exclude "xalan27.jar" g$REV $BRANCHDIR > 
r$REV.diff)
+               find g$REV/ -empty -delete
+               find $BRANCHDIR/ -empty -delete
+               DIFFSTATUS=$(diff --no-dereference -qrw -I '$Id' -I '$Revision' 
-I'$Header' -I'$Sour  ce' -I'$Date' -I'$Log' -I'$Locker' --exclude ".cvsignore" 
--exclude ".gitignore" --exclude "terra.dsp" --exclude   ".git" --exclude 
".svn" --exclude "saxon65.jar" --exclude "xalan27.jar" --exclude "cup.g" 
--exclude "Cup.g" --exclude "xm4.asc" --exclude "dde1.1" --exclude "reg1.0" 
--exclude "libitcl" --exclude "cvs2cl.pl" --exclude "mug.jpg" --exclude 
"alias-pix.txt" g$REV $BRANCHDIR > r$REV.diff)
                if [ -s r$REV.diff ]
                then
-                       echo "$REV: difference found\n"
+                       echo "$REV: difference found"
                else
                        rm r$REV.diff
                fi
@@ -43,4 +45,3 @@
        cd $CWD
 fi
 rm -rf g$REV
-

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to