I know through rumor (and testing) that, e.g., in a commitinfo line you
can say something like this:

  ALL /some/program $USER

...i.e. you can put what looks like a shell environment variable
substitution in the line and cvs--I believe, i.e. not the shell--will
expand it for you.

(I also know that some of the other admin. files have different ways of
getting, e.g., the user--notify, for example, uses "%s" but probably
should have been specified to use $USER like commitinfo.)

I have three questions.

1. Where (other than the source; I'm hoping I don't have to get out my
shovel and start digging) are these pseudo-environment variables
documented?
2. If they are not documented anywhere (I can't find them in the
Cederqvist), then could someone send me a list of them?
3. What "user" is $USER expanded to in a pserver context?  The mapped-to
user on the server side, or the "unmapped" user?

Cheers,
Laird

Reply via email to