Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

Help wanted with CVS

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have been really struggling with CVS for a week now and hope that someone on this list can help me.
Lets assume that I have a project with 2 file, 1.java and 2.java I created a repository and imported a module with these 2 files.
Next, I check them out to a working directory. Lets say, I edit 1.java reach a milestone and commit (version 1.2) and then make some more changes and commit (v 1.3) All this while, 2.java is at v 1.1
Now I tag the whole module as say, release-1 and I'm happy.
Now, I need to make changes to 2.java, but I want to start the versioning from 1.3, not from 1.1 ie, I want to bring my entire module to have a version 1.3, so that changes to any file from here on forth will be 1.4 (or 1.3.1.2 and so on...)
How can I acheive this ? Been driving me nuts... BTW, I use wincvs with development on my hard disk only (for now).
Thanks in advance,
Sonya
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My first question would have to be why do you want to do this?. Imagine if you had 10 files, or 100 files, in your project. Would you have to bring them all to version 1.3? Even if most of them didn't change for release 1.3?
The whole point of a syatem like cvs is that the actual version numbers of the individual files are not especially significant. They only serve to distinguish versions of that file. You are free to group any set of any versions of any files into a release.
So are you still sure you want to do this?
 
reply
    Bookmark Topic Watch Topic
  • New Topic