info-cvs
[Top][All Lists]
Advanced

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

Keeping a checked out copy - slightly improved code


From: Jakub Narebski
Subject: Keeping a checked out copy - slightly improved code
Date: Fri, 29 Jun 2001 18:18:18 +0200 (CEST)

I'm sending you the slightly improved code for keeping a checked out copy,
using loginfo and autoexport filter, based on code from CVS Infopages,
http://www.cvshome.org/dev/text2/sklar


CVSROOT/loginfo has something like

DEFAULT        (cat > /tmp/cvs.exp.$USER 2>&1; (sleep 2; \
/www/webpage_update.pl %{sVv} < /tmp/cvs.exp.$USER) &)

The tempfile and "sleep 2" is to avoid lock-contention issues, as in the
original article. ATTENTION: there is %{sVv} instead of %s!



P.S. I'm novice in Perl, so please excuse my lack of programming skills.
This script is by no means complete, and it needs improving.

See also the patch submitted to info-cvs list by
Gianni Mariani <address@hidden>.


P.P.S. I would be grateful, if copies of any replies were send to my
private e-mail, address@hidden, because I am not subscribed to
address@hidden mailing list.

-- 
Jakub Narębski                      mailto:address@hidden
    Poland

Attachment: webpage_update.pl
Description: Text document


reply via email to

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