[Top][All Lists]

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

Re: befuddled: writing a cvs logger

From: Larry Jones
Subject: Re: befuddled: writing a cvs logger
Date: Sun, 5 May 2002 14:12:59 -0400 (EDT)

stephan writes:
> i'm befuddled: i'm trying to write a cvs logging tool, similar to the 
> CVSROOT/log and log_accum samples which come with CVS. i cannot, for the 
> life of me, figure out how those two apps run the cvs status commands, 
> since there is no cvs tree for them to work in. When i try to manually 
> reproduce what those scripts are doing i (rightfully) get errors about no 
> CVSROOT set, etc. How does one run a cvs status command on the server 
> itself?

Those scripts *are* run in a working directory.  In client/server mode,
the server creates a shadow copy of the user's working directory on the
server and the loginfo script is run in that directory.

-Larry Jones

I hate being good. -- Calvin

reply via email to

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