Re: [Fwd: Q on keyword substitution]

2005-01-11 Thread Frederic Brehm
Pierre Asselin wrote: Well, suppose you edit the file and add a line with a '$Rvision' marker, misspelled. You commit that, the bad marker goes in the repository. You check out or update, the keyword is not expanded/clobbered because of the spelling error. The information you need is still pres

Re: [Fwd: Q on keyword substitution]

2005-01-10 Thread Pierre Asselin
jsWalter <[EMAIL PROTECTED]> wrote: > > It's -kv, not '-ko'. '-kv' removes the keyword (and the bracketing > > $$) and leaves only the value. > OK, but doesn't this strip ALL the keywords? Yes. It's all or nothing. > > and you have to be *very* careful with the spelling of '$Revision: > > $'

Re: [Fwd: Q on keyword substitution]

2005-01-09 Thread jsWalter
> jsWalter <[EMAIL PROTECTED]> wrote: >>> Try 'cvs admin -kv'. Try it on a test repository first. >>> > >> Well, doesn't this tell CVS not to proces *any* keywords on this >> particular file? > > It's -kv, not '-ko'. '-kv' removes the keyword (and the bracketing > $$) and leaves only the value.

Re: [Fwd: Q on keyword substitution]

2005-01-07 Thread Pierre Asselin
jsWalter <[EMAIL PROTECTED]> wrote: > > Try 'cvs admin -kv'. Try it on a test repository first. > Well, doesn't this tell CVS not to proces *any* keywords on this > particular file? It's -kv, not '-ko'. '-kv' removes the keyword (and the bracketing $$) and leaves only the value. Your files wil

Re: [Fwd: Q on keyword substitution]

2005-01-07 Thread Todd Denniston
jsWalter wrote: > > For @version, yes. > > This "label' should not be changed at each iteration, as VERSION will be. > > But not for @since. > > It is a way of knowing when something was addedd or removed from a file > based upon the CVS tracking version number > > Walter CVS might not do it

RE: [Fwd: Q on keyword substitution]

2005-01-07 Thread jsWalter
> Thomas Marsh wrote: > >> looking at an example of java code in the apache struts cvs repository, I >> see >> >> /** >> ~ * Custom FormBeanConfig to demonstrate usage. >> ~ * >> ~ * @version $Revision: 1.2 $ $Date: 2004/03/14 06:23:50 $ >> ~ */ >> >> >> Is this not the kind of documentation you w

Re: [Fwd: Q on keyword substitution]

2005-01-07 Thread jsWalter
> jsWalter wrote: |>jsWalter <[EMAIL PROTECTED]> wrote: > |> > |> > |>>I'm using phpDocumentor and would like to have the '@since' tag auto > |>>insert the CVS file version, but not change it the next time the file > is |>> submitted. > |>> > |>>this... * @since $Version: $ > |>> > |>>to become...

RE: [Fwd: Q on keyword substitution]

2005-01-07 Thread Jim.Hyslop
Thomas Marsh wrote: > looking at an example of java code in the apache struts cvs > repository, > I see > > /** > ~ * Custom FormBeanConfig to demonstrate usage. > ~ * > ~ * @version $Revision: 1.2 $ $Date: 2004/03/14 06:23:50 $ > ~ */ > > Is this not the kind of documentation you want? I suspec

RE: [Fwd: Q on keyword substitution]

2005-01-07 Thread Jim.Hyslop
jsWalter wrote: > I will take it form the deafing silence onthis that it can > not be done. I don't think so. The problem is, the RCS keywords are not expanded until you check the file out. By that point, you've lost the context of when the keyword was added. Could some combination of 'cvs annota

Re: [Fwd: Q on keyword substitution]

2005-01-07 Thread Thomas Marsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jsWalter wrote: |>jsWalter <[EMAIL PROTECTED]> wrote: |> |> |>>I'm using phpDocumentor and would like to have the '@since' tag auto |>>insert the CVS file version, but not change it the next time the file is |>> submitted. |>> |>>this... * @since $Versi

Re: [Fwd: Q on keyword substitution]

2005-01-06 Thread jsWalter
> jsWalter <[EMAIL PROTECTED]> wrote: > >> I'm using phpDocumentor and would like to have the '@since' tag auto >> insert the CVS file version, but not change it the next time the file is >> submitted. >> >> this... * @since $Version: $ >> >> to become... * @since 1.24 >> >> not... * @since $Versi

Re: [Fwd: Q on keyword substitution]

2005-01-06 Thread jsWalter
> jsWalter <[EMAIL PROTECTED]> writes: > >> Is there a way to have a substitution happen only once? >> >> ie: >> I'm using phpDocumentor and would like to have the '@since' tag auto >> insert the CVS file version, but not change it the next time the file >> is submitted. >> >> this... * @since $Ver

Re: [Fwd: Q on keyword substitution]

2005-01-06 Thread Pierre Asselin
jsWalter <[EMAIL PROTECTED]> wrote: > I'm using phpDocumentor and would like to have the '@since' tag auto > insert the CVS file version, but not change it the next time the file is > submitted. > this... >* @since $Version: $ > to become... >* @since 1.24 > not... >* @since $Versio

Re: [Fwd: Q on keyword substitution]

2005-01-05 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jsWalter <[EMAIL PROTECTED]> writes: > Is there a way to have a substitution happen only once? > > ie: > I'm using phpDocumentor and would like to have the '@since' tag auto > insert the CVS file version, but not change it the next time the file is >