Ingolf Koch wrote:
> It appears that when using pserver together with a
> CVSROOT/passwd file which maps cvs users to different
> UNIX user ids (i.e. with three entries per line), it
> is not possible by programs called e.g. on commit
> automatically to find out which _cvs_ user did the
> commit.
Wrong; in the commitinfo script you can write a line that looks like
this (for example):
DEFAULT yourProgram $USER
...(can't remember whether the "match everything" rule is DEFAULT or
ALL; immaterial to this point.)
"$USER" here is not an environment variable but is the cvs server's
notion of the USER, i.e. the _cvs_ user you refer to above. The $USER
environment variable is set to the _other_ user, in case you need to see
that.
The patch is not needed.
However, for programs that cannot accept command line inputs (not sure
what those programs might be, then your patch might be useful.
Cheers,
Laird