[cvsnt] tag a tagged version

Gerhard Fiedler lists at connectionbrazil.com
Sat May 10 13:35:36 BST 2008


Tilo Riemer wrote:

> Hi,
> 
> Am 09.05.2008, 17:19 Uhr, schrieb Bo Berglund <bo.berglund at telia.com>:
>> rtag works on the repository, that is it tags the HEAD.
>>
>> tag works on the checked out files, that is it uses the revisions in
>> your sandbox to define where to put the tag.
>>
>> In this case you want to put another tag on the same position as the
>> old tag and then the wayto do it is to update your sandbox to the old
>> tag so you get all those revisions and the add another tag to them.
> 
> It's not necessary to update your sandbox.
> 
> cvs -x tag -r <old_tag> <new_tag> [files]
> does the job.

AFAIK, this tag command tags only the files that are in the sandbox where
it's used. If you use rtag with the same command (and giving the repo root
for [files]), it should tag all files in the repository that have old_tag
with new_tag. Am I wrong?

Gerhard


More information about the cvsnt mailing list