* commitHelper
improved error detection (Colin, me).
+2006-02-23 [wwp] 2.0.0cvs75
+
+ * commitHelper
+ improved error detection (Colin, me).
+
2006-02-23 [wwp] 2.0.0cvs74
* src/prefs_toolbar.c
2006-02-23 [wwp] 2.0.0cvs74
* src/prefs_toolbar.c
( cvs diff -u -r 1.382.2.244 -r 1.382.2.245 src/compose.c; ) > 2.0.0cvs72.patchset
( ) > 2.0.0cvs73.patchset
( cvs diff -u -r 1.30.2.24 -r 1.30.2.25 src/prefs_toolbar.c; ) > 2.0.0cvs74.patchset
( cvs diff -u -r 1.382.2.244 -r 1.382.2.245 src/compose.c; ) > 2.0.0cvs72.patchset
( ) > 2.0.0cvs73.patchset
( cvs diff -u -r 1.30.2.24 -r 1.30.2.25 src/prefs_toolbar.c; ) > 2.0.0cvs74.patchset
+( cvs diff -u -r 1.1.2.29 -r 1.1.2.30 commitHelper; ) > 2.0.0cvs75.patchset
#!/bin/bash
args=`echo $@`
#!/bin/bash
args=`echo $@`
-head -n 16 configure.ac | grep VERSION= > /tmp/commitTool.tmp
-source /tmp/commitTool.tmp
+head -n 16 configure.ac | grep VERSION= > $tmpfile
+source $tmpfile
EXTRA_VERSION=`echo $EXTRA_VERSION | awk -F'.' '{for (i=1;i<NF;i++){printf $i"."};printf $NF+1}'`
nextsversion="${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION}"
nextextra="$EXTRA_VERSION"
nextextratype="head"
EXTRA_VERSION=`echo $EXTRA_VERSION | awk -F'.' '{for (i=1;i<NF;i++){printf $i"."};printf $NF+1}'`
nextsversion="${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION}"
nextextra="$EXTRA_VERSION"
nextextratype="head"
done;
patchset="("
log=""
done;
patchset="("
log=""
-files=`cvs diff -uN $@ 2>/dev/null |grep ^Index`
+files=`cvs diff -uN $@ 2>$tmpfile |grep ^Index`
+if [ "$files" == "" ]; then
+ echo Nothing to commit\!
+ if [ -s $tmpfile ]
+ then
+ echo See possible reason below:
+ cat $tmpfile
+ fi
+ exit
+fi
+rm -f $tmpfile
name=`whoami`
#change if your login isn't your name
if [ "$name" == "claws" ]; then
name=`whoami`
#change if your login isn't your name
if [ "$name" == "claws" ]; then
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=