diff options
-rw-r--r-- | ChangeLog | 25 | ||||
-rw-r--r-- | sh/eci.sh | 15 |
2 files changed, 34 insertions, 6 deletions
@@ -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 : + @@ -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 |