[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Completely new version
From: |
Larry Jones |
Subject: |
Re: Completely new version |
Date: |
Mon, 27 May 2002 14:59:45 -0400 (EDT) |
Eric Siegerman writes:
>
> The problem with it in production, where the code will be worked
> on for years, is that CVS doesn't "remember" that you're now on
> version 2.0. Think what will happen the next time you add a new
> file. To maintain the 2.x numbering, you'll have to say "-r 2.0"
> when you commit the file's first revision; if you forget, the
> file will be created at revision 1.1.
No it won't. When adding a new file, CVS looks for the highest major
revision in the directory and uses it for the new file, so you'd get 2.1
in that case. It's still not a good idea, however.
> Much better to use tags, and stop expecting the revision numbers
> to convey information meaningful to humans.
Exactly.
-Larry Jones
What a waste to be going to school on a morning like this. -- Calvin