info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about version numbers.


From: Greg A. Woods
Subject: Re: Question about version numbers.
Date: Wed, 7 Nov 2001 00:42:11 -0500 (EST)

[ On , November 6, 2001 at 19:39:21 (GMT), address@hidden wrote: ]
> Subject: Re: Question about version numbers.
>
> How can I get the last-set tag, plus delta from that tag, into my
> development code?

I'm not sure what you mean here.  Sounds like all you need do is run
"cvs update"!

> The $Name$ keyword only works with an export, so far as I can tell. 

Yes, as it should....  You do not really want to expand $Name into
working directories.  It's meant to be an indication of a frozen
release.

> Something along the lines of a $Branch$ and $Tag$ keyword (that might
> expand to something like $Branch: 1.1.1.1$ and $Tag: cvs1-9$) would 
> be nice...

If your tag naming scheme is flexible and complete enough there's no
need for such additional features.

Most of this keyword expansion business is highly over-rated anyway.
All you really need and want are the revision Id nubmers themselves and
from there you can always deduce everything else that's relevant by
using them as an index into the "cvs log" output for the given file.

If you think you need tags expanded in your working directories then
there's something seriously wrong with your overall software development
process.

-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>     <address@hidden>
Planix, Inc. <address@hidden>;   Secrets of the Weird <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]