Hi,
I use an Ant script with whom, periodically, I checkout my project from a CVS repository, I build it and if build is SUCCESSFUL I tag it with a symbolic name like build_20041122-1422.
Now I would remove old tag from repository that are older than one week.
I know there is command cvs tag -d <tagname> to delete a specific tag.
The problem is related I don't know the name of tag because this name is generated automatically from script.
One solution could be write on file the name of a tagged version on creation and then read from it when I have to delete the previous one.
I don't like very much this solution, so I'm looking for a better one.
Finally, how Can I delete all tagged version from repository that are previuos of a certain date ?
Ho uno script Ant con il quale effettuo periodicamente delle build del mio progetto prelevando tutto il codice da un repository CVS.
Se la build si conclude senza errori, inoltre inserisco un tag su CVS (con un nome come build_20041122-1422) in modo da poter ripristinare tutto il progetto in caso di build break.
Poichè la frequenza della build è piuttosto alta ho la necessità di rimuovere dal repository tutti i tag che sono per esempio piu vecchi di una settimana.
Come fare a rimuovere tutti questi tag senza conoscere i loro nomi ?