[Top][All Lists]

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

Modifying comments via loginfo trigger

From: Mark
Subject: Modifying comments via loginfo trigger
Date: Tue, 4 Dec 2001 11:35:28 -0800 (PST)

What is the best way to implement a loginfo trigger to modify comments of a
file just committed.

We have seemingly random login IDs and I want to have a trigger add a comment
line right after the commit that inserts the real users name so who made the
change is easily identifiable.

Currently, I am to do this with 'cvs admin -m' command in a forked trigger (so
the loginfo trigger can exit, releasing the CVS lock and the child process
checks out the file in a temp dir to run 'cvs admin'). However, even though the
parent process exited, releasing the lock, the cvs client does not return the
prompt till the child trigger exits. Is there anyway to correct this added
delay for the user.

Is there a better way do do what I am trying to do?

cvs 1.11.1p1 on sol 2.6 in pserver mode



Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.

reply via email to

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