info-cvs
[Top][All Lists]
Advanced

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

Loginfo - only first of %p and ${sVv} substituted


From: Rob Desbois
Subject: Loginfo - only first of %p and ${sVv} substituted
Date: Wed, 31 May 2006 13:05:24 +0100

I have a problem with loginfo in that only one of %p and %{sVv} will be 
substituted in the parameter list.

Running CVS 1.11.21 (client and server) with pserver.
Loginfo contains the following line:
  test                    /usr/bin/loglog.pl %p %{sVv}

loglog.pl simply records the arguments and stdin given to it. I am getting the 
following:
-----
arg: test
arg: %{sVv}

StdIn:
Update of /usr/local/repository/test
In directory batcave:/tmp/cvs-serv17802

Modified Files:
       foo
Log Message:
test log message
-----

However if I swap the order of parameters given in loginfo, I get the following 
instead:
-----
arg: test foo,1.16,1.17
arg: %p

StdIn:
Update of /usr/local/repository/test
In directory batcave:/tmp/cvs-serv17802

Modified Files:
       foo
Log Message:
test log message
-----


I've tried placing other parameters in variuos different places. Has anybody 
seen this - is it a bug?
--Rob


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




reply via email to

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