bug-cvs
[Top][All Lists]
Advanced

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

default attributes in CVS/fileattr


From: Michael Stockinger (ra8648)
Subject: default attributes in CVS/fileattr
Date: Thu, 23 Nov 2000 17:58:20 -0600

Subject: default attributes in CVS/fileattr

Related keywords: fileattr
                  cvs watch
                  cvs watchers
                  notify

The way how default attributes are treated together with cvs commands
"watch ..." and "watchers" is not quite clear. Obviously, the default
attributes are only set in a directory if the "cvs watch on" or "cvs
watch add" commands are invoked WITHOUT any file specified. But then
they will be set for the whole directory tree and also inherited if new
files are added.

However, default attributes will NOT be listed using the "cvs watchers"
command, therefore they stay hidden for the user. They can only be found
by looking into the corresponding CVS/fileattr file in the CVS
repository.

Regarding "cvs watch on [-lR] <files>" the CVS manual claims, "If
<files> includes the name of a directory, CVS arranges to watch all
files added to the corresponding repository directory, and sets a
default for files added in the future; this allows the user to set
notification policies on a per-directory basis." This does currently NOT
work. If a directory is given in <files> then the file attributes will
be set for all files in this directory, but the default attributes will
NOT change.

The right way to handle this is probably to implement it in the way how
it is already described in the manual. Additionally the "cvs watchers"
command should also list the default attributes for each directory.
Unfortunately, I don't have time right now to fix this by myself.

Any ideas? Please let me know.

Cheers,  Michi



reply via email to

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