jQuery in Action, 2nd edition*
The moose likes IDEs, Version Control and other tools and the fly likes Duplicating a tag in CVS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Duplicating a tag in CVS" Watch "Duplicating a tag in CVS" New topic
Author

Duplicating a tag in CVS

Rajani Deshpande
Ranch Hand

Joined: May 08, 2000
Posts: 45
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?


Rajani
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Rajani,
It sounds like you want to create a branch from the original, change some files in the branch and re-version.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Rajani Deshpande
Ranch Hand

Joined: May 08, 2000
Posts: 45
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

Joined: May 26, 2003
Posts: 30789
    
157

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

Joined: Jul 11, 2001
Posts: 14112
Check out a working copy of JAN_RELEASE, and use "tag" instead of "rtag".


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Duplicating a tag in CVS