[cvsnt] Re: logging nt working

Steve Swanson steve.swanson at mackichan.com
Wed Apr 7 17:49:51 BST 2004


Thanks.  I am now seeing some logging.  Please see my particular comments
below.

> The loginfo is a script file.
What kind of script?  What is the environment?

> Each line in the file contains an instruction to be carried out if the
> regular expression at the start of the line triggers.
> Whatever happens is entirely up to what you put in the line after the
> regular expression, so if you put a "ALL dir > c:\dir.txt" into the
> loginfo line that is what's gonna happen.

It seems the examples in the file have no chance of working on Windows.
When I changed the path to an absolute hard-coded path, logging worked.

But the line in commitlog looked like
  ""; id; echo "path/filename,1.9"; date; cat
so something isn't working right. That is, the semicolon separation isn't
working.  It's not clear which commands will work.

I guess I can write a little program to do what's intended.

> (For each commit a dir command is executed and the result is put into
> the file c:\dir.txt, obviously not very useful but I guess you get the
> idea.)
>
> In short, whatever happens is due to what you put in there, you have
> to decide and there is no automatic process involved.
>
>
>
> /Bo
> (Bo Berglund, developer in Sweden)





More information about the cvsnt mailing list