21 Novembre 2006
Tutti i file vengono copiati sul server, quindi accertatevi che nella directory corrente siano presenti solo i file che desiderete importare. Per importare i file eseguite il comando:
cvs import -m “initial import” myproject/ <vendor-tag> <release-tag>
vendor-tag è il nome dell’azienda (di solito io metto un nome identificativo del Software)
release-tag è la release iniziale del software
Lascia un commento » |
Appunti CVS |
Permalink
Pubblicato da jazzo
21 Novembre 2006
Per creare un Tag:
cvs tag -R <nome_release>
-R –> Recursively (default value but like this is better!!
ATTENZIONE!! Verificare alla fine dell’operazione che il tutto sia andato a buon fine, se c’e’ qualche errore potrebbe essere tagged solo una parte, fino al punto in cui si e’ verificato l’errore.
———————–
Per rinominare un branch, prima lo duplico e poi elimino il vecchio:
cvs admin -n newname:oldname
cvs tag -Bd oldname
You’re a bit confused, however. Revisions and tags do not reference
names, a tag is just a symbolic name for a particular revision number.
-Larry Jones
———————–
To delete a tag, specify the `-d’ option to either cvs tag or cvs rtag.
For example:
cvs rtag -d rel-0-4 tc
———————–
You can create a branch with tag -b; for example, assuming you’re in a working copy:
$ cvs tag -b rel-1-0-patches
———————–
To check out a branch from the repository, invoke `checkout’ with the `-r’ flag, followed by the tag name of the branch (see section Creating a branch):
$ cvs checkout -r rel-1-0-patches tc
Or, if you already have a working copy, you can switch it to a given branch with `update -r’:
$ cvs update -r rel-1-0-patches tc
or equivalently:
$ cd tc
$ cvs update -r rel-1-0-patches
Lascia un commento » |
Appunti CVS |
Permalink
Pubblicato da jazzo