aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog25
-rw-r--r--sh/eci.sh15
2 files changed, 34 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index f716d90..c585be0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,33 @@
10/12/05 23:46:38 -- Author : beber
Oops ! Things miss !
-
10/12/05 23:49:49 -- Author : beber
Yeah baby !
Improve things !
File changes :
+
+USER : 10/12/05 23:57:17
+test
+
+File changes :
+
+
+USER : 10/12/05 23:57:47
+test !
+
+File changes :
+
+
+USER : 10/12/05 23:58:09
+test
+
+File changes :
+
+
+USER : 10/12/05 23:59:57
+test !
+
+File changes :
+
diff --git a/sh/eci.sh b/sh/eci.sh
index df23b8b..efdcbe6 100644
--- a/sh/eci.sh
+++ b/sh/eci.sh
@@ -5,18 +5,23 @@ TMPFILE="/tmp/.eci.$RANDOM"
touch $TMPFILE
chmod 600 $TMPFILE
+echo "
+--This line and thoses under will be ignored--
+$(svn st)" >> $TMPFILE
$EDITOR $TMPFILE
+DELCOMMENTFROM=$(grep -n -- '--This line and thoses under will be ignored--' $TMPFILE | cut -d ':' -f 1)
+head -n $(($DELCOMMENTFROM-1)) $TMPFILE > $TMPFILE.send
+
cd $HOME/dev/espik
echo "
-$(date "+%D %X -- Author : $USER")
-$(cat $TMPFILE)
+USER : $(date "+%D %X")
+$(cat $TMPFILE.send)
File changes :
$(svn st | grep -vE '^?')" >> $HOME/dev/espik/ChangeLog
+svn ci -m "$(cat $TMPFILE.send)"
-svn ci -m "$(cat $TMPFILE)"
-
-rm "$TMPFILE"
+rm $TMPFILE $TMPFILE.send