When I do a cvs status, I see working revision and repository revision numbers. What is the difference between the two, or rather, what do they mean?
+2
A:
the working revision is just the revision you are currently using. the repository revision is the revision currently in the repository.
basically, if the repository revision is larger than your working revision, someone has committed changes to that file, and perhaps you should update your version, or you may end up with a conflict if you try to commit your own changes at a later time.
Owen
2008-11-19 22:03:27
Right. But why would anyone still have to use CVS nowadays?
ddaa
2008-11-19 22:16:35
there are many sad things in life :(
Owen
2008-11-19 22:17:41
Granted, vanilla CVS sucks but being a CVSNT user I have yet to find a compelling enough reason to switch to anything else.
Oliver Giesen
2008-11-20 08:54:07
I'm working on a project that uses ancient code.. from like 2002 or even earlier?
jcee14
2008-11-20 14:41:16
A:
Thanks, that makes sense... except: Say I have a file A.java, latest revision is 1.10. I do a cvs up -r1.9 A.java. cvs status shows both working and repository revision to be 1.9...
What's going on??
jcee14
2008-11-20 14:44:42
cvs up -r1.9 means you're updating your files to release 1.9, so the repository version would be the version in release 1.9. (ie not 1.10, as that exists in -r1.10 i would assume)
Owen
2008-11-21 09:04:31
so you need to do an cvs update -A to get the latest and greatest and clear your 1.9 tag
Sally
2009-01-23 20:17:08