jeudi 11 février 2010

cvs : poser un tag, tirer une branche

Il faut penser à configurer la variable d'environnement CVSROOT

exemple :
CVSROOT=:pserver:toto@192.168.161.38:/production/cvs/sources

se logger :
cvs login

se delogger :
cvs logout

faire un checkout :
cvs co

poser un tag :
cvs rtag -r HEAD livraison100203 java/monProjet

poser un tag :
cvs rtag -b -r uneBranche java/monProjet

Voici un exemple de tag sur 3 projets et sur la branche (xxx-xxx_V8L1_0), et un tag xxx_xxx_V8L1_0_6 sur le projet java/mon-app.

On peut et il faut lancer cette commande sur le serveur, via par exemple (la console admin de wincvs )

cvs rtag -r mon-app_V8L1_0 mon_app_V8L1_0_6 java/mon-app
cvs rtag -r mon-app-flex_V8L1_0 mon_app_FLEX_V8L1_0_6 java/mon-app-flex
cvs rtag -r mon-app-mq_V8L1_0 mon_app_MQ_V8L1_0_6 java/mon-app-mq

Aucun commentaire:

Enregistrer un commentaire