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
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:
> > $'
> 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.
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
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
> 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
> 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...
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
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
-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
> 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
> 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
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
-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
>
14 matches
Mail list logo