AW: [cvsnt] date command in the loginfo file

Christian Manhart christian.manhart at ifs-it.de
Wed Apr 16 15:52:16 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


You have to separate the individual shell commands with an ampersand.
But be carefull as this creates several lines of output (this is the
reason why I add an extra separation line) !
I'm not sure if Win32 shell is able to produce all the output on one
line without using external tools - at least I could not manage to do
so :-(

I'm using the following entry in loginfo

 DEFAULT (echo ---------------------------------------- & \
         echo ${USER} & \
         echo %{sVv} & \
         date /t & \
         time /t) >> $CVSROOT/CVSROOT/commitlog

resulting in a multiline entry like:

 ---------------------------------------- 
 <user> 
 "<dir1>/<dir2> <file>,1.3,1.4" 
 Mo 14.04.2003 
 14:34 

HTH,
Christian Manhart

------------------------------------------------------------------------
        > IFS Informationstechnik GmbH -- http://www.ifs-it.de <

------------------------------------------------------------------------
    Christian Manhart - Trausnitzstrasse 8, 81671 Muenchen - Germany
------------------------------------------------------------------------
 

-----Ursprüngliche Nachricht-----
Von: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] Im Auftrag
von Norman Clerman
Gesendet: Mittwoch, 16. April 2003 16:31
An: cvsnt
Betreff: [cvsnt] date command in the loginfo file 


Good day to all,

    I'm running cvsnt (version 1.11.1.3-77a) on a Windows 2000 server. 
The one active line in my loginfo file is

    DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> 
$CVSROOT/CVSROOT/commitlog

    Here's a line from my commitlog file:

    ""; id; echo "design/source zoomtypeM.f90,1.1.1.1,1.2"; date; cat

    How do I get the date to print?

Many thanks,

Norm Clerman


_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook