Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r559 - trunk/stats-commit.sh

argouml-gen
Discussion topic

Back to topic list

svn commit: r559 - trunk/stats-commit.sh

Reply

Author linus
Full name Linus Tolke
Date 2009-10-11 10:19:53 PDT
Message Author: linus
Date: 2009-10-11 10:19:51-0700
New Revision: 559

Added:
   trunk/stats-commit.sh (contents, props changed)

Log:
Created the command for committing the contents of argouml-stats.

Added: trunk/stats-commit.sh
Url: http://argouml-gen.t​igris.org/source/bro​wse/argouml-gen/trun​k/stats-commit.sh?vi​ew=markup&pathre​v=559
====================​====================​====================​==================
--- (empty file)
+++ trunk/stats-commit.sh 2009-10-11 10:19:51-0700
@@ -0,0 +1,26 @@
+#!/bin/sh
+# $Id: closettop.sh 558 2009-10-08 21:38:24Z linus $
+
+# This script commits things in the argouml-stats project if the ordinary
+# commit failed.
+#
+# The argument, an integer, is the chunk size.
+# If missing, all files are attempted.
+
+ARG=$1
+if test -z "$ARG"
+then
+ echo $(date): Committing all the rest...
+ cd argouml-stats/www
+ svn commit -m"Committing all the rest"
+ echo $(date): Committing all the rest...done
+else
+ echo $(date): Committing all the rest in chunks of $ARG files...
+ cd argouml-stats/www
+ svn update
+ svn status |
+ awk '/^[AM]/ { print $2; }' |
+ xargs -L $ARG --no-run-if-empty \
+ svn commit -m"Committing all the rest (in chunks of $ARG files)"
+ echo $(date): Committing all the rest in chunks of $ARG files...done
+fi

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r559 - trunk/stats-commit.sh linus Linus Tolke 2009-10-11 10:19:53 PDT
Messages per page: