info-cvs
[Top][All Lists]
Advanced

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

Re: cvs 1.12.9 and new loginfo format


From: Mark D. Baushke
Subject: Re: cvs 1.12.9 and new loginfo format
Date: Sun, 05 Jun 2005 21:39:07 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Spiro Trikaliotis <address@hidden> writes:

> I just upgraded to 1.12.9 (from 1.11.x) and I am a little bit confused
> about the new loginfo format.
> 
> My current loginfo looks like:
> 
> DEFAULT Mail -s %1s address@hidden
> 
> Now, I've read
> https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_18.html#SEC188 and
> added the "1" as suggested there.
> 
> Anyway, I I do not quite understand how to go from here. :-( What must I
> add to my loginfo line to make it behave like it used to behave with
> 1.11.x? I don't get it right from
> https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_18.html#SEC192.
> 
> From my understanding, changing the line back to
> 
> DEFAULT Mail -s %s address@hidden
> 
> (that is, removing the "1" again) should do the trick for me. Anyway, I
> am confused if this is the right step, or if there are any side-effects
> I do not foresee yet?

Read https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_18.html#SEC188

Add the line 'UseNewInfoFmtStrings=yes' to CVSROOT/config

Use:

DEFAULT Mail -s "%p %s" address@hidden

and you should get something that approximates your old behavior.
Without accidentally trying to send e-mail to e-mail addresses you did
not expect when the bare %s would otherwise be sent as multiple
arguments and only the first would be in the subject line.

However, you may wish to consider something like:

DEFAULT Mail -s "%p %{sVv}" address@hidden

or you could write a wrapper script that generates the subject line
that you desire and is passed the %p and %{sVv} arguments separately.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFCo9Nq3x41pRYZE/gRAqqLAJ9gjvisomA3Dx4sJNJMTyVavAmnbACgpL7v
osF2nAmJX7sxOAgahOP5iCY=
=OcfP
-----END PGP SIGNATURE-----




reply via email to

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