Author: glen                         Date: Sat Sep 22 10:16:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- tag by 100 file chunks

---- Files affected:
SPECS:
   builder (1.518 -> 1.519) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.518 SPECS/builder:1.519
--- SPECS/builder:1.518 Sat Sep 22 12:06:49 2007
+++ SPECS/builder       Sat Sep 22 12:16:36 2007
@@ -1171,8 +1171,13 @@
                fi
                if [ -n "$TAG" ]; then
                        update_shell_title "tag sources: $TAG"
-                       printf "Tagging %d files\n" $(echo $tag_files | wc -w)
-                       cvs $OPTIONS $TAG $tag_files || exit
+
+                       while [ "$tag_files" ]; do
+                               local chunk=$(echo $tag_files | tr ' ' '\n' | 
head -n 100)
+                               printf "Tagging %d files\n" $(echo $chunk | wc 
-w)
+                               cvs $OPTIONS $TAG $chunk || exit
+                               tag_files=$(echo $tag_files | tr ' ' '\n' | 
tail +101)
+                       done
                fi
        fi
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/builder?r1=1.518&r2=1.519&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to