Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Duplicating a tag in CVS

 
Rajani Deshpande
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say I have a tag in CVS as JAN_2008_RELEASE.

The development is going on and we have files checked in.

We want to have another tag for the same JAN_2008_RELEASE so that we can do a minor release. and yet have the original JAN_2008_RELEASE code available.

rtag allows me to move a file to the JAN_2008_RELEASE but thats not what I want to do.
If I try to create a tag now, its using the current versions of the files and not the JAN Release files.

I want to duplicate the tag as say JUN_2008_RELEASE. which has the same files as the JAN release and move only the fixed files (not all modified files) to the JUN_2008_RELEASE.

Can we do it?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajani,
It sounds like you want to create a branch from the original, change some files in the branch and re-version.
 
Rajani Deshpande
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No , I dont want to reversion.

I have a old label JAN_RELEASE.. Now its June and many files have changed.

I wanted to duplicate a the old label as JUNE_RELEASE and add only a few files to it.

At the end I want to keep the JAN_RELEASE, JUNE_RELASE tags.(JUNE_RELEASE being exact copy of JAN_RELEASE except for a few files.) If I Create a tag now,Its using all the checked in files which I dont want to.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajani,
Reversioning doesn't have to be from the head.

If I'm understanding, you want two sets of tags at the end. Most files would be the same except for the few changed ones.

What I describe is a reversioning. The key is that you are versioning from your checked out files (branch) and not what is in the HEAD.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out a working copy of JAN_RELEASE, and use "tag" instead of "rtag".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic