• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Duplicating a tag in CVS

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out a working copy of JAN_RELEASE, and use "tag" instead of "rtag".
reply
    Bookmark Topic Watch Topic
  • New Topic