head 0.84; access; symbols; locks jmp:0.84.0.0; strict; comment @# @; 0.84 date 2010.03.06.16.39.08; author jmp; state Exp; branches 0.84.0.0; next 0.83; 0.83 date 2010.03.06.16.39.08; author jmp; state Exp; branches 0.83.0.0; next ; 0.83.0.0 date 2010.03.06.16.39.08; author jmp; state Exp; branches; next 0.83.0.1; 0.83.0.1 date 2010.03.06.16.39.08; author jmp; state Exp; branches; next ; 0.84.0.0 date 2010.03.06.16.39.08; author jmp; state Exp; branches; next ; desc @#! /bin/sh #----------------------------------------------- MSG=" Mise en place su GIT " #----------------------------------------------- REV="$Revision: 0.83.0.0 $" VERS=`echo $REV | cut -d' ' -f2 - ` NUM=`echo $REV | cut -d' ' -f2 | cut -d'.' -f1,2` #NXTVER doit etre activer pour un changement de version #et mis en commentaire apres NXTVER="0.84" #----------------------------------------------- for i in $* do LINE=" #================================================================================= " if ! [ -f RCS/$i,v ]; then ci -q -r$NUM -f -l -m"Creation $LINE" $i < $i ci -q -r$VERS -f -l -m"Ratrapage numero de Version" $i LINE="" fi ci -q -f -l -m"$MSG $LINE" $i #to upgrade a version! if [ -n "$NXTVER" ] ; then rcs -q -u $i co -q -l -p$NUM $i > /dev/null ci -q -r$NXTVER -f -l -m"upgrade version" $i < $i ci -q -r$NXTVER.0.0 -f -l -m"Ratrapage numero de Version" $i fi echo `rlog -L -l $i | grep vision | grep locked | grep \`id -n -u\` |tr '\t' ' '|cut -d' ' -f2`"---->" $i done exit @ 0.84 log @upgrade version @ text @#! /bin/sh #----------------------------------------------- MSG=" Mise en place su GIT " #----------------------------------------------- REV="$Revision: 0.83.0.1 $" VERS=`echo $REV | cut -d' ' -f2 - ` NUM=`echo $REV | cut -d' ' -f2 | cut -d'.' -f1,2` #NXTVER doit etre activer pour un changement de version #et mis en commentaire apres NXTVER="0.84" #----------------------------------------------- for i in $* do LINE=" #================================================================================= " if ! [ -f RCS/$i,v ]; then ci -q -r$NUM -f -l -m"Creation $LINE" $i < $i ci -q -r$VERS -f -l -m"Ratrapage numero de Version" $i LINE="" fi ci -q -f -l -m"$MSG $LINE" $i #to upgrade a version! if [ -n "$NXTVER" ] ; then rcs -q -u $i co -q -l -p$NUM $i > /dev/null ci -q -r$NXTVER -f -l -m"upgrade version" $i < $i ci -q -r$NXTVER.0.0 -f -l -m"Ratrapage numero de Version" $i fi echo `rlog -L -l $i | grep vision | grep locked | grep \`id -n -u\` |tr '\t' ' '|cut -d' ' -f2`"---->" $i done exit @ 0.84.0.0 log @Ratrapage numero de Version @ text @d7 1 a7 1 REV="$Revision: 0.84 $" @ 0.83 log @Creation #================================================================================= @ text @d7 1 a7 1 REV="$Revision: 0.83.0.0 $" @ 0.83.0.0 log @Ratrapage numero de Version @ text @d7 1 a7 1 REV="$Revision: 0.83 $" @ 0.83.0.1 log @Mise en place su GIT @ text @d7 1 a7 1 REV="$Revision: 0.83.0.0 $" @