info-cvs
[Top][All Lists]
Advanced

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

Re: Repository know who has checkouts?


From: Noel L Yap
Subject: Re: Repository know who has checkouts?
Date: Fri, 6 Oct 2000 13:05:23 -0400

OK, I think the following solution might satisfy all:
   If "Watch=On" is in CVSROOT/config, then everything within the repository is
   watched.  There is no need to update or search through the fileattr files.
   "cvs watch on/off" emits an error.
   If "Watch=On" is not in CVSROOT/config, then everything works as it does now.

Note that I am not volunteering to implement any solution -- I'm just helping to
hash out a solution.

Noel




address@hidden on 2000.10.06 11:43:34

To:   address@hidden
cc:   address@hidden, address@hidden
Subject:  Re: Repository know who has checkouts?




Noel L Yap wrote:

> What about getting rid of "cvs watch on/off" altogether and making this
feature
> a configuration parameter inside CVSROOT/config?

I wouldn't object to a parameter to change the default watch status or the like
if
it didn't remove the old behavior, but it doesn't seem necessary.  See below.


> The main difference I see is
> the granularity of "cvs watch on/off".  However, I think teams tend to use
"cvs
> watch on/off" for the entire repository, anyway.  In fact, I think there may
be
> a feature (or bug) in which new modules do not get "cvs watch on" if the team
> already deems all modules to have "cvs watch on".

I was just playing around and it seems that 'cvs watch' stores a 'fileattr' for
each directory as well as for each file and that this is where the watched
status
for new files and directories is inherited from.  I also double checked that
this
can be applied to the top level directory, so why not:

    cvs co -l .
    cvs watch on

to make sure that new modules inherit the repository watch status?

As for the current granularity, I think it is important.  The example is three
teams at the same company sharing a CVS repository.  Two use 'cvs watch' by
default and one does not.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
I will never win an emmy.
I will never win an emmy.
I will never win an emmy...

          - Bart Simpson on chalkboard, _The Simpsons_








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

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