[EMAIL PROTECTED] on 07/21/2000 10:26:03 AM
>Noel Yap wrote:
>
>> Is there really a reason why "-A" doesn't work when the
>> update command is also given "-D" or "-r"?
>>
>
>Yes.  (without my ".trunk" patch) this is how you update your
>working directory to the trunk, with "-A".  "-A" means get rid
>of the sticky tags (and sticky options too).   "-D" and "-r"
>both try to put in sticky tags.  So which is it?  Do you want
>to get rid of the sticky tags, or have sticky tags?

It's very easy:
"cvs up -r <rev>" will update to <rev> and create sticky tags.
"cvs up -A" will update to the latest revision and wipe out sticky tags.
"cvs up -r <rev> -A" will update to <rev> and wipe out sticky tags.

You see, there's currently no way to wipe out sticky tags without updating to
the latest version.

>A problem with "-A" is that it removes sticky options as
>well as sticky tags.  With my ".trunk" patch it becomes possible
>to update your working directory to the trunk without losing sticky
>options, which, I don't think is possible with "-A".  There probably
>needs to be a way to remove sticky tags without removing sticky options
>and vice versa.  (Well, I think "cvs admin" covers the "vice versa"
>case)

I can see how this can also be a problem.  Maybe the problem is that "-A" is
trying to do too much.

Noel



This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.

Reply via email to