[Top][All Lists]

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

Re: Getting user id when committing?

From: Kaz Kylheku
Subject: Re: Getting user id when committing?
Date: Tue, 3 Aug 2004 08:49:23 -0700 (PDT)

On Tue, 3 Aug 2004 address@hidden wrote:

> I need to write a script that maps a cvs/unix user id
> to a bugzilla user id. I know CVS knows the user that
> "cvs commits" a change. How do I get this info? Is it
> the %s variable?

If you use proper Unix accounts for your CVS users, then your
commitinfo script can simply look at the effective user ID of its
process, for instance using the ``id'' command.

Meta-CVS: the working replacement for CVS that has been stable for two
years.  It versions the directory structure, symbolic links and execute
permissions. It figures out renaming on import. Plus it babysits the kids
and does light housekeeping!

reply via email to

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