Inserting VZGOT development tree within GIT
[safe/jmp/vzgot] / support / RCS / sauver,v
1 head    0.84;
2 access;
3 symbols;
4 locks
5         jmp:0.84.0.0; strict;
6 comment @# @;
7
8
9 0.84
10 date    2010.03.06.16.39.08;    author jmp;     state Exp;
11 branches
12         0.84.0.0;
13 next    0.83;
14
15 0.83
16 date    2010.03.06.16.39.08;    author jmp;     state Exp;
17 branches
18         0.83.0.0;
19 next    ;
20
21 0.83.0.0
22 date    2010.03.06.16.39.08;    author jmp;     state Exp;
23 branches;
24 next    0.83.0.1;
25
26 0.83.0.1
27 date    2010.03.06.16.39.08;    author jmp;     state Exp;
28 branches;
29 next    ;
30
31 0.84.0.0
32 date    2010.03.06.16.39.08;    author jmp;     state Exp;
33 branches;
34 next    ;
35
36
37 desc
38 @#! /bin/sh
39 #-----------------------------------------------
40 MSG="
41 Mise en place su GIT
42 "
43 #-----------------------------------------------
44 REV="$Revision: 0.83.0.0 $"
45 VERS=`echo $REV | cut -d' ' -f2 - `
46 NUM=`echo $REV | cut -d' ' -f2 | cut -d'.' -f1,2`
47 #NXTVER doit etre activer pour un changement de version
48 #et mis en commentaire apres
49 NXTVER="0.84"
50 #-----------------------------------------------
51 for i in $*
52  do
53  LINE="
54 #=================================================================================
55
56 "
57  if ! [ -f RCS/$i,v ]; then
58    ci -q -r$NUM -f -l -m"Creation $LINE" $i < $i
59    ci -q -r$VERS -f -l -m"Ratrapage numero de Version" $i
60    LINE=""
61  fi
62  ci -q -f -l -m"$MSG $LINE" $i
63  #to upgrade a version!
64  if  [ -n "$NXTVER" ] ; then
65    rcs -q -u $i
66    co -q -l -p$NUM $i > /dev/null
67    ci -q -r$NXTVER -f -l -m"upgrade version" $i < $i
68    ci -q -r$NXTVER.0.0 -f -l -m"Ratrapage numero de Version" $i
69  fi
70  echo `rlog -L -l $i | grep vision | grep locked | grep \`id -n -u\` |tr '\t' ' '|cut -d' ' -f2`"---->" $i
71  done
72 exit
73 @
74
75
76 0.84
77 log
78 @upgrade version
79 @
80 text
81 @#! /bin/sh
82 #-----------------------------------------------
83 MSG="
84 Mise en place su GIT
85 "
86 #-----------------------------------------------
87 REV="$Revision: 0.83.0.1 $"
88 VERS=`echo $REV | cut -d' ' -f2 - `
89 NUM=`echo $REV | cut -d' ' -f2 | cut -d'.' -f1,2`
90 #NXTVER doit etre activer pour un changement de version
91 #et mis en commentaire apres
92 NXTVER="0.84"
93 #-----------------------------------------------
94 for i in $*
95  do
96  LINE="
97 #=================================================================================
98
99 "
100  if ! [ -f RCS/$i,v ]; then
101    ci -q -r$NUM -f -l -m"Creation $LINE" $i < $i
102    ci -q -r$VERS -f -l -m"Ratrapage numero de Version" $i
103    LINE=""
104  fi
105  ci -q -f -l -m"$MSG $LINE" $i
106  #to upgrade a version!
107  if  [ -n "$NXTVER" ] ; then
108    rcs -q -u $i
109    co -q -l -p$NUM $i > /dev/null
110    ci -q -r$NXTVER -f -l -m"upgrade version" $i < $i
111    ci -q -r$NXTVER.0.0 -f -l -m"Ratrapage numero de Version" $i
112  fi
113  echo `rlog -L -l $i | grep vision | grep locked | grep \`id -n -u\` |tr '\t' ' '|cut -d' ' -f2`"---->" $i
114  done
115 exit
116 @
117
118
119 0.84.0.0
120 log
121 @Ratrapage numero de Version
122 @
123 text
124 @d7 1
125 a7 1
126 REV="$Revision: 0.84 $"
127 @
128
129
130 0.83
131 log
132 @Creation
133 #=================================================================================
134 @
135 text
136 @d7 1
137 a7 1
138 REV="$Revision: 0.83.0.0 $"
139 @
140
141
142 0.83.0.0
143 log
144 @Ratrapage numero de Version
145 @
146 text
147 @d7 1
148 a7 1
149 REV="$Revision: 0.83 $"
150 @
151
152
153 0.83.0.1
154 log
155 @Mise en place su GIT
156 @
157 text
158 @d7 1
159 a7 1
160 REV="$Revision: 0.83.0.0 $"
161 @